Parabolic SAR Expert – EA MetaTrader 5

inputs
This is a classic trading strategy based on Parabolic SAR indicator. It has AutoLot options and built-in Trailing Stop. This code can be used in both MetaTrader5 and MetaTrader4. Just change the file extension from .mq5 to .mq4 and compile the file in MetaEditor. This expert advisor is designed with visual strategy builder – Mission Automate. Code is generated … Read more

Trailing Stop by Fixed Parabolic SAR – EA MetaTrader 5

Fixed Parabolic SAR
Modify to allow direct specification of the starting point of the Parabolic SAR. Parameters Trailing Mode ・・・ None / Trailing Fixed / Trailing Fixed Parabolic SAR calcuration part of Parabolic SAR bool CSampleExpert::LongModifiedEx(void) { bool res=false; //— check for trailing stop if(m_trailing_max < m_last_bar.high) { double tp=m_position.TakeProfit(); double sl=m_position.StopLoss(); //— calcurate ParabolicSAR m_trailing_max = m_last_bar.high; … Read more