Re: The Non Repainting code
or at the end of the code:-
It is easier to use "ref" command, for me
PHP:
COND1 = BUY_CONDITION;
COND2 = SELL_CONDITION;
COND1[BarCount-1]=Null;
COND2[BarCount-1]=Null;
Buy = Cross( COND1, COND2 );
Sell = Cross( COND2, COND1 );
Buy[BarCount-1]=Null;
Sell[BarCount-1]=Null;
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );
GraphXSpace = 5;
PHP:
Buy[BarCount-1]=Null;
Sell[BarCount-1]=Null;
Short[BarCount-1]=Null;
Cover[BarCount-1]=Null;