Forum

Calculate number of pips correctly

I have an indicator that detects all trading activity on my account and then sends an email. I have an issue though in that when i close the positions the pips are not calculated correctly. This is the line on my MQL script that calculates the pips. In the picture it gives a pip count of 491 pips

Detet sharop turn in the Stochastic or RSI

I want to know if its possible via MQL to detect when the Stochastic Oscillator or RSI makes a sharp turn that makes a point edge.Please see image for what i am describing

RSI check mutliple values on different timeframes before sending out alert

For MQL5 I can see there is standard script for how to check the RSI if it above or below certain levels but that works on 1 time frame and set value. I would like assistance in checking the RSI on the follwing 5 charts and their specific RSI values before sending out an alert RSI on 5m chart