Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Spazm - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 Resources

author EAcpu | 5 reads | 0 comments |

Spazm - expert for MetaTrader 4

Spazm - expert for MetaTrader 4

 External double k= 5.0 ; // Opening multiplier relative to current volatility, i.e. moving_for_opening=volatility_over_period*k
outer integer period = 24 ; // period for calculating bar volatility
External integer empirical value = 0 ; // Volatility smoothing mode, 0 - simple moving average, 1 - linear weighting
External integer open.close = 0 ; // Volatility calculation mode: 1-open/close, 0-highest/lowest
External double SL_pp= 0 ; // Set stop loss as a percentage of the movement that occurred (from 0 to 1, 0 - no stop loss at all)
external boolean visualization= true ; // draw motion trajectory

Significantly reduced, suggestions for improvements are welcome


Attachment download

📎 Spazm.mq4 (5.23 KB)

Source: MQL5 #8683

Verification code Refresh