![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am very much new to metatrader coding can experts out here help me to design metrader indicator based on metastock code on bar. Metastock formula are mention below
Bullish divergence bar(blue colour)
L < Ref(L,-1) AND Ref(L,-1)< Ref(L,-2) AND L < Ref(L,-2) AND CLOSE > ((HIGH + LOW)/2)
Bearish divergence bar(red colour)
H > Ref(H,-1) AND Ref(H,-1) > Ref(H,-2)AND H > Ref(H,-2) AND CLOSE < ((HIGH + LOW)/2)
Kindly help
Thank u all
Regards
krishna