Continueing on "ozzyapeman's"  idea  I made a Stochastic of MA slope with HHV   
LLV for last 50 periods._SECTION_BEGIN("STO MA SLOPE");
myMA1 = MA(C,10);

SL=SlopeMA1 = 100*(myMA1- Ref(myMA1, -1))/myMA1;
HM=HHV(SL,20);
LM=LLV(SL,20);

STOSL=100*(SL-LM)/(HM-LM);
Plot(STOSL, "STOSL", colorOrange);

Plot(50, "", colorBlue,styleNoLabel);
_SECTION_END();




      

Reply via email to