I am very new to efs and I am attempting to backtest my trading stragegy that involves the Macd and Stochastics crossing along with the 50 day moving average. So far I have got this to show where all the the actual crossovers take place.
However, the final part of my stragegy involves the high\low of the relevant bar that crossed, also being broken by any subsequent bars within a specified period of ten bars.
Is there any way that the high or low value of the bar could be stored in a variable that was then tested by the subsequent bars to indicate a long or short position.
Thanks in advance for any help out there
However, the final part of my stragegy involves the high\low of the relevant bar that crossed, also being broken by any subsequent bars within a specified period of ten bars.
Is there any way that the high or low value of the bar could be stored in a variable that was then tested by the subsequent bars to indicate a long or short position.
Thanks in advance for any help out there
Comment