Collector

hayseed

Master Trader
Jul 27, 2010
1,046
262
149
usa
ObjectCreate

hey fan..... it's a seemingly small matter but should be known.....

that ea is trading by lines created in the init() section..... this is ok..... however if while running the ea the lines were deleted by mistake, it might cause unstable operation...... it's using ObjectGet() to move and retrieve values..... so if there is no object to get, the gas pedal might get stuck.....

manually moving by dragging the lines to change the next buy or sell level is ok.....

trading by lines, objects or shapes is both handy and common..... but usuallly there will be a some code to recreate the lines, objects or shapes if need be.....

if you attempt to use, in demo only, you might try deleting the lines...... both with open orders and without...... see what gives......h