faustf: s i want higlight a candel that have >= 6 pips
double pipSize = MarketInfo(Symbol(), MODE_POINT) * PipRequest;
Your first problem is a PIP is not a point.
PIP, Point, or Tick are all different in general.
Ticks, PIPs or points in the GUI. Make up your mind. - MQL4 programming forum #1 (2014)
Percentage in point - Wikipedia
Unless you manually adjust your SL/TP for each separate symbol, using Point means code breaks on 4 digit brokers, exotics (e.g. USDZAR where spread is over 500 points), and metals. Compute what a PIP is and use it, not points.
How to manage JPY pairs with parameters? - MQL4 programming forum (2017)
Slippage defined in index points - Expert Advisors and Automated Trading - MQL5 programming forum (2018)
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
Hi guys i want higlight a candel that have >= 6 pips i create this script , but not mark all candel that respect this parameter , why ??