XP Moving Average! - page 26

 
et_phonehome_2:
Which version are you using nowadays?

I am using the same i described in post 63: Xpma_v.2 Suits better for that setup.

But close to news releases i change the chart from 30 min. to 15 min.

 
viat:
Hi Codersguru. I've noticed this strange behavior of xpma. Maybe some kind of bug or something( I,m not a programmer). For visual presentation of this I've put too MA's on chart,

1. ema_period 5 on close;

2 xpma_period 5, type 1, on close;

First chart shows difference between MA's starting when you live it alone and second chart after open and close edit window of xpma.

Is it possible to fix it?

Thanks

Viat

Viat! I don't understand !

 
 

ea from an indicator

Hi Guru,

Please check you pm when you get a chance.

I look forward to your response.

Happy pipping,

 
codersguru:
Thanks you junglelion !

I'll add this in the new version!

PS: Who mis-ratetd the thread? anybody found it not useful to this degree?

completed

used this

string var1=TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS);

handle=FileOpen("signals.txt", FILE_READ|FILE_WRITE, ';');

if(handle>0)

{

FileSeek(handle, 0, SEEK_END);

FileWrite(handle, var1, alert_msg);

FileClose(handle);

}

 
codersguru:
Viat! I don't understand !

If I understand xpma MA_period =5, MA_Type=1,MA_Applied=0 are equal MA from indicator folder of MT4 where MA period=5, method= exponential, apply to close. But it's not.

If I put both xpma and MA(MT4) on chart it's looks the same but lately xpma paint itself differently. It's represented in chart1 post #239.

Viat

 

Hi Codersguru,

XpMA is nice indicator, when I try The T3MA (that its included in your XpMA folder) It works but doesn't update. I have to manually update the MA by refreshing the chart by changing timeframes.

Could anyone look at the code and try to make it update?

Thanks for your advance

Files:
chf.gif  14 kb
 

MA5 and xpMA5!

viat:
If I understand xpma MA_period =5, MA_Type=1,MA_Applied=0 are equal MA from indicator folder of MT4 where MA period=5, method= exponential, apply to close. But it's not.

If I put both xpma and MA(MT4) on chart it's looks the same but lately xpma paint itself differently. It's represented in chart1 post #239.

Viat

Viat I don't see any difference (Visually or in code) between:

xpMA (Period = 5 - Type = 1) and

MA (Period = 5 - Type = 1)

In the screen shot above the chart hosting the 2 indicators (MA5 and xpMA5 - Both type 1) and no difference!!
 

T3MA Formula?

gandhollz:
Hi Codersguru,

XpMA is nice indicator, when I try The T3MA (that its included in your XpMA folder) It works but doesn't update. I have to manually update the MA by refreshing the chart by changing timeframes.

Could anyone look at the code and try to make it update?

Thanks for your advance

That's so bad!

Anybody has a better version of T3MA or have the orginal formula of this indicator?

 

FileFlush?

junglelion:
completed

used this

string var1=TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS);

handle=FileOpen("signals.txt", FILE_READ|FILE_WRITE, ';');

if(handle>0)

{

FileSeek(handle, 0, SEEK_END);

FileWrite(handle, var1, alert_msg);

FileClose(handle);

}

Did it work for you? Without FileFlush??

Anyway, give this script a look!

http://www.xpworx.com/AppendToFile.htm

Reason: