-
TP/SL is a price not a distance. Your sentence makes no sense. If you want Zen to be a distance in PIPs. Compute what a PIP is and add/subtract Zen * PIP from the OrderClosePrice.
-
PIP, Point, or Tick are all different in general.
What is a TICK? - MQL4 programming forum 2014.08.03Unless 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.02.09
Slippage defined in index points - Expert Advisors and Automated Trading - MQL5 programming forum 2018.01.15

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi, i want EA to calculate first a zero point (a point where sell order's and buy order's SL value and TP value will be zero) from which it will calculate number of positive pips named as "ZEN".
Below is my program where it takes ZEN as price, and places on all orders in either SL or TP form. "ZEN" //Price you put.
THIS is working program, i just need a little help in making ZEN in pips for all orders close at one price but in pips.