D dpleydell Junior member Messages 11 Likes 0 Mar 27, 2005 #1 Hi, Is is possible in Easy Language to place a Short Sell at the low of the signal bar and have it triggered IF the price trades below but cancel this order if not filled within 2 days? Thanks David
Hi, Is is possible in Easy Language to place a Short Sell at the low of the signal bar and have it triggered IF the price trades below but cancel this order if not filled within 2 days? Thanks David
TWI Senior member Messages 2,559 Likes 269 Mar 27, 2005 #3 Something like this may do it. Variables: SellFlag(0); If {Sell Condition} then begin SellFlag = Barnumber; end; If Barnumber < SellFlag + 2 then begin Sell Short ("Sell") next bar at Low[Barnumber - SellFlag] stop; end;
Something like this may do it. Variables: SellFlag(0); If {Sell Condition} then begin SellFlag = Barnumber; end; If Barnumber < SellFlag + 2 then begin Sell Short ("Sell") next bar at Low[Barnumber - SellFlag] stop; end;
D dpleydell Junior member Messages 11 Likes 0 Mar 27, 2005 #4 twalker said: Something like this may do it. Variables: SellFlag(0); If {Sell Condition} then begin SellFlag = Barnumber; end; If Barnumber < SellFlag + 2 then begin Sell Short ("Sell") next bar at Low[Barnumber - SellFlag] stop; end; Click to expand... Thanks. That worked. I didn't realise you can back date your sell orders like that. David
twalker said: Something like this may do it. Variables: SellFlag(0); If {Sell Condition} then begin SellFlag = Barnumber; end; If Barnumber < SellFlag + 2 then begin Sell Short ("Sell") next bar at Low[Barnumber - SellFlag] stop; end; Click to expand... Thanks. That worked. I didn't realise you can back date your sell orders like that. David