[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AFL feature request



PureBytes Links

Trading Reference Links

Hi Tomasz,

I always have trouble setting stops based on buyprice. I run into the 
problem that you cannot use variables (such as buy) before they are 
defined. If you can create a system variable that tracks position 
with values 0, 1, -1 (say) ... It could then be used to get the 
buyprice for example.. 

stopp = valuewhen ( position==1, buyprice );

something like this would help avoid going to 'jscript' all the time.

unless you have other suggestions?

Regards, 

Cliff Elion