Repainting indicators - page 22

 

MT4 Cycle Major (repaints).

 

Two more indicators in collection !

The indicator in sub window (br16) generates profitable signals all the time so posting it here without checking it (weather it repaint or not)

Files:
 
secretcode:
Two more indicators in collection ! The indicator in sub window (br16) generates profitable signals all the time so posting it here without checking it (weather it repaint or not)

BR16 is another version of solar wind - so, yes, it does repaint

 
mladen:
BR16 is another version of solar wind - so, yes, it does repaint

It seems like 'Solar Wind indicator' is a never ending story...for traders and scammers too !

 
secretcode:
It seems like 'Solar Wind indicator' is a never ending story...for traders and scammers too !

They will always rename it and paddle it : it looks like a miracle and that is what some people think TA is about - miracles. That is a fact that nothing will change even if you repeat it a million times. All you will reach is that people will think that you are hiding something

 

This thread is not so active for a month so posting (interesting) indicators here

AMA & AMACD indicators

Both indicators must be in 'indicator folder' to work AMACD properly !

PS: AMA indicator does not work on current bar

Files:
eurusdh4_1.png  53 kb
ama.ex4  3 kb
amacd.mq4  3 kb
 
secretcode:
This thread is not so active for a month so posting (interesting) indicators here

AMA & AMACD indicators

Both indicators must be in 'indicator folder' to work AMACD properly !

PS: AMA indicator does not work on current bar

You do not happen to have the source of the AMA in question?

 
mladen:
You do not happen to have the source of the AMA in question?

Unfortunately i have only ex4 !

But little info about 'Adaptable Moving Average (AMA) from author :

Unlike standard moving averages, which for calculate only use data points prior to the current period. AMA is using both, before and after, the current period. Adjusting, moving average to the price changes that will happen. If future periods are not available, behaves as a standard moving average
 
secretcode:
Unfortunately i have only ex4 ! But little info about 'Adaptable Moving Average (AMA) from author :

From this description part "AMA is using both (data points), before and after," it is clearly not the AMA I have thought of but a recalculating (repainting) one. Thought that could help but from the description I really am not familiar with that indicator

 
secretcode:
Unfortunately i have only ex4 ! But little info about 'Adaptable Moving Average (AMA) from author :

Hi , Thats this one but I think it repaints.

Sorry , I cannot attach a file so I send the code in-situ.

Have a good trading week.

Tomcat

//+------------------------------------------------------------------+

//| AMA.mq4 |

//| Copyright 2012, MetaQuotes Software Corp. |

//| MetaTrader 4 Trading Platform / MetaQuotes Software Corp. |

//+------------------------------------------------------------------+

#property copyright ""

#property link ""

#property indicator_chart_window

#property indicator_buffers 1

#property indicator_color1 Red

extern int Before = 7;

extern int Forward = 7;

extern int Price = 0;

double AMABuffer[];

// ---INIT----

int init() {

IndicatorDigits(Digits);

SetIndexStyle(0, DRAW_LINE);

SetIndexBuffer(0, AMABuffer);

return (0);

}

// ----DEINIT----

int deinit() {

return (0);

}

// ----Start----

int start() {

double Pos;

double Dev;

if (Bars <= 3) return (0);

int indicator_counted = IndicatorCounted();

if (indicator_counted < 0) return (-1);

int i = Bars - 2 - Before;

if (indicator_counted > 2) i = Bars - indicator_counted - 1;

while (i > 0) {

Pos = 0;

Dev = 0;

for (int ama_pos = i + Before; ama_pos > i - Forward; ama_pos--) {

if (ama_pos >= 0) {

Pos += iMA(NULL, 0, 1, 0, MODE_SMA, Price, ama_pos);

Dev++;

}

}

if (Dev > 0.0) AMABuffer = Pos / Dev;

else AMABuffer = EMPTY_VALUE;

i--;

}

return (0);

}

//----

Reason: