Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi Nishant
I've prepared an indicator and exploration version of my "Multi-Frame ID Stoch EMA" indicator that I think will signal on tick, 1 or 5 minute charts each time the 5-minute Stoch(14,3) crosses below 20. This is achieved by running the indicator/expert formula in "dynamic" mode so that each new data point is regarded as the final bar of the current 5-minute period/frame.
It should be possible to configure the expert so that only one cross below 20, or each of more than one, will trigger a signal. Dynamic mode allows you to monitor the indicator state or value of the currently evolving 5-minute timeframe. Static mode will only signal a cross below 20 once the 5-minute frame/period has been completed and the first tick of a new frame is available.
Proprietary elements of my formulas are not shown here but I will get all code to you once I have your email address. With cooperation on both sides I'm sure we can make this thing work.
Roy
{Multi-Frame ID Stoch EMA Expert}
{User settings} Pd:=14; {%K Periods} N:=3; {%K Slowing Periods} U:=1; {%D EMA Periods} J:=5; {Periodicity in Minutes} Q:=1; {Mode, 0=Static 1=Dynamic 2=Delayed} {Timing signals} ..... {End-of-frame prices} ..... {Stochastic and %K slowing} ..... {%D EMA smoothing} ..... {Results, %K, %D, Crossover} {K;} {D;} Cross(20,K);
{Multi-Frame ID Stoch EMA Indicator} ..... {User settings} Pd:=Input("Multi-Frame ID Stoch EMA, %K Periods",1,99,14); N:=Input("%K Slowing, Periods" ,1,99,3); U:=Input("%D EMA, Periods",1,99,1); J:=Input("Periodicity in Minutes, 1-1440",1,1440,5); Q:=Input("Mode, 0=Static 1=Dynamic 2=Delayed",0,2,1);
{Timing signals} ..... {End-of-frame prices} ..... {Stochastic and %K slowing} ..... {%D EMA smoothing} ..... {Results, %K, %D, Crossover} K; D; {Cross(20,K);}
|