Hi
I am performing some position sizing on a position exit in the custom backtest and then entering in a new symbol based on similar criteria. However my entry/exit criteria is in the main AFL code outside. I want to use the custom backtest variable to enter a position in my main code. \
how can i use the same custom backtest variable in my AFL buy/sell code.
…new to AFL programming and custom backtest…