Hello,
How can we code a Macd and Stochastic Cross into an Expert Advisor.
For example, if we have the Macd and the Stochastic in a same window and that we want to open an order when the Macd signal goes over/under the Stochactic main ?
I have studied arrays but i don't see how we can do it.
when u say the macd and stochastic is in the same window, do u mean
a) Macd of chart, stochastic of chart
b) macd of stochastic
c) stochastic of macd
Funyoo
You may have re-invented the Schaff Trend Cycle - it is a merging of MACD & Stochastic
and http://www.fxstreet.com/education/trading-strategies/releasing-the-code-to-the-schaff-trend-cycle/
-BB-
Thanks for your answers.
Hi ronaldosim,
Yes I mean a) Macd of chart over stochastic of chart (or vice versa)
Hi BarrowBoy,
Yes, in fact it was only an example, it would be quite heavy to merge the logics for that kind of crosses. I'm not sure to have enough knowledge
Funyoo,
Could you share that indicator? It seems pretty fascinating to me! Thanks...... Daniel
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
How can we code a Macd and Stochastic Cross into an Expert Advisor.
For example, if we have the Macd and the Stochastic in a same window and that we want to open an order when the Macd signal goes over/under the Stochactic main ?
I have studied arrays but i don't see how we can do it.