Re: Saint's Intraday Miniflow - live discussion
hi freinds,
Use this AFL to plot Pivots.Please comment, whether it's plotting pivot as per the definition of this miniflow method or not. If not where is missing?
Please give me clear idea of Move1/ Move 2 so that I may code for a pop up window to give commentary on every development relevant to our trading method.
///////////////////// LowerPivot///////////HigherPivot/////////
Lp=Ref(L,-2)>Ref(L,-1) AND L>Ref(L,-1);
r=(H-L)/4;
Hp=Ref(H,-2)<Ref(H,-1)AND H<Ref(H,-1);
for( i = 0; i < BarCount; i++ )
{
if( Lp ) PlotText( "LP", i-1, L[ i-1 ]-r,colorRed,bkcolor=ParamColor("LP Background Color",colorYellow ));
if(Hp)PlotText("HP",i-1,H[i-1] + r[ i ],colorBlue,bkcolor=ParamColor("HP Background Color ",colorWhite));
}
////////////////////lee_c_kooper/////////////////////////////////
hi freinds,
Use this AFL to plot Pivots.Please comment, whether it's plotting pivot as per the definition of this miniflow method or not. If not where is missing?
Please give me clear idea of Move1/ Move 2 so that I may code for a pop up window to give commentary on every development relevant to our trading method.
///////////////////// LowerPivot///////////HigherPivot/////////
Lp=Ref(L,-2)>Ref(L,-1) AND L>Ref(L,-1);
r=(H-L)/4;
Hp=Ref(H,-2)<Ref(H,-1)AND H<Ref(H,-1);
for( i = 0; i < BarCount; i++ )
{
if( Lp ) PlotText( "LP", i-1, L[ i-1 ]-r,colorRed,bkcolor=ParamColor("LP Background Color",colorYellow ));
if(Hp)PlotText("HP",i-1,H[i-1] + r[ i ],colorBlue,bkcolor=ParamColor("HP Background Color ",colorWhite));
}
////////////////////lee_c_kooper/////////////////////////////////