Hi all,

I have an AFL to plot arrows for buy, sell, short and cover.

Sometimes the exit of a trade is the entry of another. Sometimes not. How can I 
make the AFL to display the sell and cover arrows with an offset up or down 
from the buy and short arrows? I can not plot both. If there is a coincident 
sign, only one appears at the chart.

The PLOT lines are like this:
PlotShapes( Buy* shapeUpArrow, IIf( Buy, colorGreen, colorRed ), 0, IIf( 
Buy,Low, High) );

PlotShapes( Short* shapeDownArrow , IIf( Short, colorBlue, colorBlack), 0, IIf( 
Short,High, Low) );

PlotShapes( Sell* shapeDownArrow, IIf( Buy, colorGreen, colorRed ), 0, IIf( 
Buy,Low, High) );

PlotShapes( Cover* shapeUpArrow, IIf( Short, colorBlue, colorYellow), 0, IIf( 
Short,High, Low) )


Regards

Antonio

Reply via email to