Broken bot just left to rot.
Broken bot just left to rot.
28 Dec 2014, 12:58
Juddly01 - December 28, 2014 @ 12:38
Hi CTDN Team and Members,
Does anyone have five minutes to fix this code?
/algos/cbots/show/225
I've had a go but I'm a beginner and pretty lame.
I cleaned up all the Account.Positions, PointSize and Trade.ModifyPosition obsolete warnings.
I replaced the Trade.CreateBuyMarketOrder.
Im stuck on the if (Trade.IsExecuting)
And the 2nd batch of Trade.Create
There must be a bug elsewhere also as the Tral_Start and Tral_Stop Parameters seem to have absolutely no effect.
Any help would be really appreciated and I think you guys could probs fix it in 3mins flat.
Its actually a good Bot even with the bugs and I'm curious to see its results when working as originally designed.
It would be a shame to leave a broken Bot in the library.
Thanks guys,
Juddly
9718853
02 Jan 2015, 15:13
Most of the robots and code on here have obsolete terms... I've always found that the warnings tell you how to fix them...
Do you know how the robot trades or what you want it to do?
Trading with code you don't understand is kind of like jumping in a formula 1 car and expecting to win the race, you're more likely to crash and burn very quickly...
@9718853