dimanche 13 novembre 2016

Buy / Sell Arrows not showing up on price Chart

Hi,

I am trying to show Buy / Sell arrows on the price chart but instead of showing up on the price chart they show up below the volume chart. Please see the attached pic.

http://ift.tt/2fNX8T3

AFL is shown below:

Code:

SetChartOptions( 0, chartShowArrows | chartShowDates );
Buy = H>REF(H,-1);
Sell = L<REF(L,-1);
//Buy = ExRem(Buy,Sell);
//Sell = ExRem(Sell,Buy);
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );
Plot( V, "Better Volume", VolColor, styleHistogram, Null, Null, 0, 0, width = -60 );
Plot( MA( V, MaPeriod ), "MA", ColorBlack, styleLine, Null, Null, 0, 1, width = -20 );



Buy / Sell Arrows not showing up on price Chart

Aucun commentaire:

Enregistrer un commentaire