Normalizer – indicator for MetaTrader 4

0
1393

Last updated:

In the days of the burdensome thoughts about the effectiveness of oscillators usage I often needed the normalization of their values, i.e. the adduction of the oscillations of the indicator to the range [-1;1]. This often opens new possibilities, the simpliest of them is the controlling of the values of the indicator by the concrete levels (0.5, 0.8 or others), and not by some casual values estimated approximately depending on the market. Of course, if the indicator is already normalized there is no need to consider this product, and if it is not…use it, please, don’t judge me strictly for the raw code.

Parameters:

string Indicator – the indicator itself that is passed to the icustom() function then. Unfortunately, the MQL4 automatization tools are not enough for the addition of the standard indicators here. On the other hand, who can prevent a curious coder from changing an entry in the program?
int mode – the number of the necessary line of the initial indicator…
int param1
int param2 – … and its parameters. Unfortunately again, the imagination of the MQL developers is enough just for allowing themselves to write functions with the variable number of parameters (like Print), and for supporting the address arithmetics (in my opinion, the last one is made solely to make the common users feel themselves inferior comparing to the gods :)))). So let’s work manually.

Level up your trading

Learn to read the chart — not just the indicator

eBook · Instant PDF

The Candlestick Playbook
Read and trade 40+ candlestick patterns — with exact entries, stops and exits.

Video Course · 12 modules

The Price Action Masterclass
Read clean charts the no-indicator way — pin bars, support & resistance, entries and exits.

Recommended MT4/MT5 Brokers

XM
  • ✓ *FREE *$50 to start (withdrawable)
  • ✓ Deposit bonus up to $5,000
  • ✓ Negative balance protection

Open XM account →

FBS
  • ✓ Micro lot support
  • ✓ Automated position sizing
  • ✓ Free demo account

Open FBS account →

FXOpen
  • ✓ Advanced order types
  • ✓ Copy trading available
  • ✓ 100+ indicators

Open FXOpen account →

Trading forex and CFDs carries a significant risk of loss and is not suitable for everyone. Broker links are affiliate links — we may earn a commission at no cost to you.

Free MT4 Indicator Download

Download below


Enter Your Email Address below, download link will be sent to you.

Get Download Link

LEAVE A REPLY

Please enter your comment!
Please enter your name here