Fainting Signals. How to record the buy/short signals using static variables in amibroker AFl and use it as reference to sell/cover?

#1
How to record the buy/short signals using static variables in amibroker AFl and use it as reference to sell/cover? I have an AFL which generates fainting signal & I want to trade with that only. The signals will be keep on be changing. I am able to execute the autobuy/autoshort in intraday through Amibroker but Sell/Cover is not happening as the signals are fainting & it will not record the old buy signal. Can someone please help on this on how to record the buy/short signals using static variables & use it for sell/cover & again change the value of static variables. Thankyou
 

Similar threads