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
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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