Calculate exact 2 MA crossover price

Jun 26, 2016 at 12:01
537 व्यू
4 Replies
bmwarmani
forex_trader_339107
तबसे मेंबर है Jun 26, 2016   5 पोस्टों
Jun 26, 2016 at 12:01
Hello,

I'm developing own indicator and i want to calculate/predict exact 2 MA crossover price. Does anyone have formula how to do this?

For example i have Fast MA 10, and Slow MA 20 and i want to calculate crossover price before crossover happen to draw horizontal line at this level.
forex_trader_25447
तबसे मेंबर है Dec 21, 2010   131 पोस्टों
Jun 26, 2016 at 16:30 (एडिट हो रहा है Jun 26, 2016 at 16:31)
Mathematically You have to made extrapolation of both MA,
( or simply use their current speed : MA[i]-MA[i-1] )
and find time where they replace positions :
( ( MA1[i-1]>MA2[i-1] && MA1[i]<MA2[i] ) || ( MA1[i-1]<MA2[i-1] && MA1[i]>MA2[i] ) )
rob559
forex_trader_29148
तबसे मेंबर है Feb 11, 2011   1916 पोस्टों
Jun 26, 2016 at 22:16
that was easy😁
bmwarmani
forex_trader_339107
तबसे मेंबर है Jun 26, 2016   5 पोस्टों
Jun 27, 2016 at 05:40
So i have,...

FastMAPrice = NormalizeDouble(iMA(NULL, 0, 10, 0, MODE_SMA, PRICE_CLOSE, 0), Digits);
SlowMAPrice = NormalizeDouble(iMA(NULL, 0, 20, 0, MODE_SMA, PRICE_CLOSE, 0), Digits);

And how can i find exact price when MAs will be crossed?
bmwarmani
forex_trader_339107
तबसे मेंबर है Jun 26, 2016   5 पोस्टों
Jun 27, 2016 at 05:46
rob559 posted:
that was easy😁

Easy?
You must be connected to Myfxbook in order to leave a comment
*व्यवसायिक इस्तेमाल और स्पैम को ब्रदाश नहीं किया जाएगा, और इसका परिणाम खाता को बन्द करना भी हो सकता है.
टिप: किसी चित्र या यूट्यूब या URL को पोस्ट करने से वे अपने आप आपके पोस्ट में आजाएगा!
टिप: @ चिन्ह को टाइप करें उपभोगता के नाम को अपने आप करने के लिए जो इस चर्चा में भाग ले रहा है.