gsandral
1st April 2007, 01:18 PM
Jose this relates to some code you put together for me
Can the tailing stop entry below be referenced to the XJO in explorations and when placed on other charts?
StopShort:=Ref(ExtFml("TradeSim.TrailingStop",band,short,0,HHV(H,13)+HHV(H-Max(O,C),2),L), -1);
I thought this would do it but its not working!
XO:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",O);
XH:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",H);
XL:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",L);
XC:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",C);
StopShort:=Ref(ExtFml("TradeSim.TrailingStop",band,short,0,HHV(XH,13)+HHV(XH-Max(XO,XC),2),XL), -1);
Regards Graeme
Can the tailing stop entry below be referenced to the XJO in explorations and when placed on other charts?
StopShort:=Ref(ExtFml("TradeSim.TrailingStop",band,short,0,HHV(H,13)+HHV(H-Max(O,C),2),L), -1);
I thought this would do it but its not working!
XO:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",O);
XH:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",H);
XL:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",L);
XC:=Security("C:\Trading Data\Stocks\ASX\Indices\XAO",C);
StopShort:=Ref(ExtFml("TradeSim.TrailingStop",band,short,0,HHV(XH,13)+HHV(XH-Max(XO,XC),2),XL), -1);
Regards Graeme