I am trying to code a trailing stop level of a support line that changes over 
time and need to use the "volatile" perameter in ApplyStop function.

The problem I have, my Support line formula computes an absolute value, 
therefore I must subtract the support value from the highest high.

The catch is that ApplyStop provides the information I need to the Sell array 
... so I am in a catch22. I need the sell bar number to compute the proper 
value of buy price for ApplyStop and I need ApplyStop to run first to give me 
the Sell array.

So what I need, is to be able to compute the buy price before running ApplyStop 
OR somehow be able to use absulute values with ApplyStop.

Any suggestions?  Do I need to gog to Custom Backtester?


Tx
Ara

Reply via email to