627# MA CMA Scalping System
CMA Trend Following System
Moving Averages Interpolates with MACD Tape optional filter
Submit Dimitrifx
MA CMA is an tradìng system for low time frame, tick chart, range chart ( this setting is not suitable for renko chart). The main feature of this system is based on MA CMA indicator experimental moving average of last generation.
The core of the code is the following:
“ for (i=limit; i>=0; i--)
{
y = iBarShift(NULL,TimeFrame,Time[i]);
x = y; if (i<Bars-1) x = iBarShift(NULL,TimeFrame,Time[i+1]);
//---
tmBuffer[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,0,y);
upBuffer[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,1,y);
dnBuffer[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,2,y);
FLAG[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,9,y);
//---
if (!Interpolate) {
if (x!=y) {
arrSEL[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,3,y);
arrBUY[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,4,y); }
//---
clrSEL[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,5,y);
clrBUY[i] = iCustom(NULL,TimeFrame,IndikName,PERIOD_CURRENT,Interpolate,Length,Smooth,Mode,Price,Deviations,6,y); }
//---
//---
if (TimeFrame!=_Period) { if (CalcArrows==1) setupARROWS(i); setupALERTS(FLAG); }
//---
//---
if (TimeFrame <= _Period || y==iBarShift(NULL,TimeFrame,Time[i-1])) continue;
if (!Interpolate) continue;
//---
datetime time=iTime(NULL,TimeFrame,y);
for (int n=1; i+n<Bars && Time[i+n]>=time; n++) continue;
double factor=1.0/n;
for (int k=1; k<n; k++)
{
tmBuffer[i+k] = k*factor*tmBuffer[i+n] + (1.0-k*factor)*tmBuffer[i];
upBuffer[i+k] = k*factor*upBuffer[i+n] + (1.0-k*factor)*upBuffer[i];
dnBuffer[i+k] = k*factor*dnBuffer[i+n] + (1.0-k*factor)*dnBuffer[i];
//clrSEL[i+k] = k*factor*clrSEL[i+n] + (1.0-k*factor)*clrSEL[i];
//clrBUY[i+k] = k*factor*clrBUY[i+n] + (1.0-k*factor)*clrBUY[i];
} ..”
This trading system has been designed for low time frames but in reality it is suitable for everyone and a MACD Tape has also been added as an optional filter. I personally do not use it because this moving average are filtered.
The MQ4 codes of the CMA and MA CM indicators are shared in the developer folder.
Metatrader Indicators
MA CMA ( 5, 30, 100).
MACD Tape (12, 26, 9).
Pivot points levels.
Trading rules MA CMA Scalping System
Buy
MA CMA blue arrow.
MACD Tabe aquad dot optional.
Exit position at the opposite arrow, at the pivots levels or with predetermined profit target that depends by pairs an the time frame.
Sell
MA CMA red arrow.
MACD Tabe red dot optional.
Exit position at the opposite arrow, at the pivots levels or with predetermined profit target that depends by pairs an the time frame.
In the pictures MA CMA Scalping System in action.
Share your opinion.
Submit by JanusTrader. Time Frame 1min or higher. Currency pairs: Majors. Indicators: A 34 Exponential Moving Average of the Close. A 34 Exponential
Moving ...
|
Aug 1, 2013 ... 5 EMA (exponetial moving average) scalpingsystem,Thissystem works on 5 ... on 5 EMA open and 5 EMA close (Exponentials
moving averages).
|
Mar 14, 2014 ... Three fast moving averages scalping system is a forex strategy trend following. Time Frame 5-15 min, 60-240, 240-daily.
|
Oct 20, 2015 ... Hull Scalping is a trend following scalping system based on the HMA indicator ...
Hull Scalping - Forex Strategies - Forex Resources - Forex ...
|
200 exponential moving average channel is trading method based on EMA channel with forex rainbow indicators.
|