Forum

iCustom Call for indicator not working as planned

Hello, So im trying to call iCustom on an indicator i found here : https://www.mql5.com/en/code/19153 As you can see this indicator was adjusted from another to add some improvement including being able to call iCustom to have a signal when a divergence is spotted (4th buffer : Signal) But when i

Tick Value problem with Calculation of Profit

Hello, I have a problem which is quite simple but drives me crazy : i'm trying to calculate Profits shown in my Backtest (USD) with the amounts of pips and the lot , here's the formula pips * lots * ( MarketInfo (pair, MODE_TICKVALUE )/ MarketInfo (pair, MODE_TICKSIZE )) the values are : 0.0030