I am trying to code the strategy "Trading in the Middle Zone" by Anthony Trongone from the [EMAIL PROTECTED] Magazine. I am having difficulty understanding how to program this. The system doesn't buy if the ExRem lines are entered. If the ExRem lines are taken out the system will show the buy arrows for every minute on the chart even when the buy is not true. The system will never sell. Any direction would be appreciated. Has anyone tried to program this system from the magazine? Dan
Test1b = (SelectedValue(TimeNum()) > 103500) AND (SelectedValue (TimeNum()) < 145500); Test2b = SelectedValue(Opening_Price < C); Test3b = PriceRange > .22; Test4b = SelectedValue(C) > Buy_Price; Test1s = (SelectedValue(TimeNum()) > 145500); Buy = Test1b AND Test2b AND Test3b AND Test4b; Sell = Test1s; Buy=ExRem(Buy, Sell); Sell=ExRem(Sell, Buy); PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorBrightGreen,0); PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0);