- Credits
- 11
Hi, Tanaka!
I think this will help you.
If you trade in the M5 time interval, D1 will be useful if the time is within the filter.
Or there is a filter in H4 time interval.
I filter the grid EAs so I filter them. This is an example.View attachment 70100
double MA1 = iMA(NULL, PERIOD_D1, 1, 0, 0, 0, 1);
double MA2 = iMA(NULL, PERIOD_D1, 3, 0, 0, 0, 1);
double Stochastic1 = iStochastic(NULL,PERIOD_D1, 14, 3, 5, 0, 0, 0, 0);
double Stochastic2 = iStochastic(NULL,PERIOD_D1, 14, 3, 5, 0, 0, 1, 0);
Buy (MA1>MA2 && Stochastic1>Stochastic2 && sdsdsdsdsds);
Sell (MA1<MA2 && Stochastic1<Stochastic2 && sdsdsdsdsds);
Sirojiddin
Thanks! You mean this filter is used for read "Chart trend" with longer time frame (H4 or D1) and
with using this filter, I can use shorter TF indicator signal is valid or not?
Buy (MA1>MA2 && Stochastic1>Stochastic2 && indicator BUY signal==true);
Sell (MA1<MA2 && Stochastic1<Stochastic2 && indicator SELL signal==true);