Quote:
Originally Posted by fxbs
Normalizer_3param (Alsu)
normalises from -1 to 1 values of Custom indicators with zero level cross
Indicator -filename,type-in ; mode - bufer #, param1 , param2-0, param3 - parameters (type-in)
4exmpl:
Indicator: cci; mode 0, param1 14, param2-0, param3 0
Indicator: macd; mode: 0, param1: 12, param2 26, param3:9
more info:
Normalizer - MQL4 Code Base en
Normalizer - MQL4 Code Base ru
|
Cool idea.
And we could change some indies to work with this one:
Momentum becomes ROC:
edit:MomBuffer[i]=Close[i]*100/Close[i+MomPeriod];
paste: MomBuffer[i]=Close[i]-Close[i+MomPeriod];
Bastard RSI
edit: else RSIBuffer[i]=100.0-100.0/(1+positive/negative);
paste: else RSIBuffer[i]=100.0-100.0/(1+positive-negative);