gawdib
28th May 2004, 11:46 PM
You have indicated that this price filter forces the exit price to be within the daily range. However, this is a huge range.
Is there anything more specifif that I can add to force the exit price to be at the open?
I have tried many ways of coding this into the exit price. None work. For example;
exitprice:=if(entrytrigger,if(o<stopband,o,stopband),stopband);
or
exitprice:=if(o<stopband,o,stopband);
both of these types cause all sorts of wierd rejection of stocks.
if i use just o, then=no problem. but I do not want to use the open as the exit price unless the open has gapped below the trailing exit stopband.
thank you,
regards,
geoffrey
Is there anything more specifif that I can add to force the exit price to be at the open?
I have tried many ways of coding this into the exit price. None work. For example;
exitprice:=if(entrytrigger,if(o<stopband,o,stopband),stopband);
or
exitprice:=if(o<stopband,o,stopband);
both of these types cause all sorts of wierd rejection of stocks.
if i use just o, then=no problem. but I do not want to use the open as the exit price unless the open has gapped below the trailing exit stopband.
thank you,
regards,
geoffrey