Calculate exact 2 MA crossover price

Jun 26, 2016 at 12:01
662 개의 뷰
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 부터 멤버   게시물127
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] ) )
rob559
forex_trader_29148
Feb 11, 2011 부터 멤버   게시물1768
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?
로그인 / 가입하기 to comment
You must be connected to Myfxbook in order to leave a comment
*상업적 사용 및 스팸은 허용되지 않으며 계정이 해지될 수 있습니다.
팁: 이미지/유튜브 URL을 게시하면 게시물에 자동으로 삽입됩니다!
팁: @기호를 입력하여 이 토론에 참여하는 사용자 이름을 자동으로 완성합니다.