kalex718

Info
Username: | kalex718 |
Name: | kalex718 |
Member since: | 27 Jul 2012 |
About
None
Signature
None
Last Algorithm Comments
@Smoothed ADX: 03 Jan 2013, 16:15
It just takes a couple of seconds to load.
Last Forum Posts
@I need a robot operation to close me, when 2 intersect MA: 16 Dec 2013, 15:21
This robot looks for a position by label and closes it if MA (type defined by input) crosses Lwma (/algos/indicators/show/81)
using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.Indicators; namespace cAlgo.Robots { [Robot(TimeZone = TimeZones.UTC)] public class CrossingRobot : Robot { private MovingAverage movingAverage; private Lwma lwma; [Parameter()] public DataSeries SourceSeries { get; set; } [Parameter("MA Type")] public MovingAverageType MAType { get; set; } [Parameter("MA Periods", DefaultValue = 10)] public int MaPeriods { get; set; } [Parameter("LWMA Periods", DefaultValue = 5)] public int LwmaPeriods { get; set; } [Parameter(DefaultValue = "Crossing Robot")] public string Label { get; set; } protected override void OnStart() { movingAverage = Indicators.MovingAverage(SourceSeries, MaPeriods, MAType); lwma = Indicators.GetIndicator<Lwma>(SourceSeries, LwmaPeriods); } protected override void OnTick() { var position = Positions.Find(Label); if (position == null) return; if (movingAverage.Result.HasCrossedAbove(lwma.Result, 0)) ClosePosition(position); } } }
@Gann HiLo and /or Coral: 13 Sep 2012, 10:03
Hello,
Gann HiLo is uploaded to the CTDN: /algos/show/172
Good Luck!
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.