_SECTION_BEGIN("Expand stochastic");
n=Param("TM",1,1,60,1);
TimeFrameSet( n*inDaily);
T = StochK(8,3);
TimeFrameRestore();
TimeFrameSet(n*inDaily);
F=StochD(8,3,3);
TimeFrameRestore();
Plot( TimeFrameExpand(T ,n*inDaily,0 ), "", colorBlue,styleDots+styleThick);
Plot( TimeFrameExpand(F,n*inDaily,0), "", colorYellow,styleDots+styleThick);
Buy=Cross(TimeFrameExpand(T ,n*inDaily,0 ),TimeFrameExpand(F ,n*inDaily,0 ));
Sell=Cross(TimeFrameExpand(F ,n*inDaily,0 ),TimeFrameExpand(T ,n*inDaily,0 ));
_SECTION_END();
-------------------------------------------------
-------------------------------------------------
_SECTION_BEGIN("Unnamed 7");
n=Param("TM",1,1,60,1);
TimeFrameSet(n*inDaily);
Plot(StochK(8,3),"",colorBlue,styleDots+styleThick);
Plot(StochD(8,3,3),"",colorYellow,styleDots+styleThick);
Buy=Cross(StochK(8,3),StochD(8,3,3));
Sell=Cross(StochD(8,3,3),StochK(8,3));
_SECTION_END();
this two fromula for stochastic by time daily time frame
my qustion is why they are not gave me the same values for fast and slow stochastic and how i can make them gave exat values for fast and slow stochastic ?
in the first formula the stochastic more slow than the second fromula
how i can make them gave me exat values for poth stochastics in the tow formulas
n=Param("TM",1,1,60,1);
TimeFrameSet( n*inDaily);
T = StochK(8,3);
TimeFrameRestore();
TimeFrameSet(n*inDaily);
F=StochD(8,3,3);
TimeFrameRestore();
Plot( TimeFrameExpand(T ,n*inDaily,0 ), "", colorBlue,styleDots+styleThick);
Plot( TimeFrameExpand(F,n*inDaily,0), "", colorYellow,styleDots+styleThick);
Buy=Cross(TimeFrameExpand(T ,n*inDaily,0 ),TimeFrameExpand(F ,n*inDaily,0 ));
Sell=Cross(TimeFrameExpand(F ,n*inDaily,0 ),TimeFrameExpand(T ,n*inDaily,0 ));
_SECTION_END();
-------------------------------------------------
-------------------------------------------------
_SECTION_BEGIN("Unnamed 7");
n=Param("TM",1,1,60,1);
TimeFrameSet(n*inDaily);
Plot(StochK(8,3),"",colorBlue,styleDots+styleThick);
Plot(StochD(8,3,3),"",colorYellow,styleDots+styleThick);
Buy=Cross(StochK(8,3),StochD(8,3,3));
Sell=Cross(StochD(8,3,3),StochK(8,3));
_SECTION_END();
this two fromula for stochastic by time daily time frame
my qustion is why they are not gave me the same values for fast and slow stochastic and how i can make them gave exat values for fast and slow stochastic ?
in the first formula the stochastic more slow than the second fromula
how i can make them gave me exat values for poth stochastics in the tow formulas