YangTrader

0
(0)
Name:
YangTrader
Author: yangshu (2011.08.23 12:58)
Downloaded: 11247
Download:
YangTrader 1
 YangTrader.mq4 (1.3 Kb) View
YangTrader 1 YangTraderMain.mq4 (2.2 Kb) View

Description:

This is my first indicator, share for everyone.

YangTrader is a good indicator, it core is price moving and return, when the value crosses 15, maybe it's the best buy time and down cross 80 it's the sell time.

I'm not good at English, maybe the description is unclear; But, if you need help, I think I can reply in Chinese.

Image:

YangTrader 3

ultimaforex:
Thanks for this good indicator.

I have this error when running the indicator.

YangTrader 4

Please help us fixing it.

Thanks very much

int start() {
double high_8;
double low_16;
int bars_0 = Bars;
if(ArraySize(gda_88) != Bars) ArrayResize(gda_88, bars_0);
ArraySetAsSeries(gda_88, TRUE);
for (int li_4 = 0; li_4 < bars_0; li_4++) {
high_8 = High[iHighest(NULL, 0, MODE_HIGH, TimeWindow, li_4)];
low_16 = Low[iLowest(NULL, 0, MODE_LOW, TimeWindow, li_4)];
gda_88[li_4] = 100.0 * (Close[li_4] - low_16) / (high_8 - low_16);
}
if(ArraySize(g_ibuf_84) != Bars) ArrayResize(g_ibuf_84, bars_0);
ArraySetAsSeries(g_ibuf_84, TRUE);
for (li_4 = 0; li_4 < bars_0; li_4++) g_ibuf_84[li_4] = iMAOnArray(gda_88, bars_0, Sensitive, 0, MODE_LWMA, li_4);
return (0);
}
03.04.2012 23:06 Mehmet

yangshu:

I write a new indicator, but blocked by mql4.com . They are so rude !

YangTrader 5

你好,我认为是一个良好的贸易援助,更多的您的网站没有提供下载。
问候。
对不起由谷歌翻译错误。

03.10.2011 14:18 Rodrigo

I write a new indicator, but blocked by mql4.com . They are so rude !

YangTrader 5

30.09.2011 10:18 yangshu

ultimaforex:
Thanks for this good indicator.

I have this error when running the indicator.

YangTrader 4

Please help us fixing it.

Thanks very much

Dear ultimaforex: replace by following statement will be fix YangTrader 'cannot resize the array' error

int init()

{

SetIndexBuffer(0,buf);

ArraySetAsSeries(buf,true);

SetIndexBuffer(0,buf2);

ArraySetAsSeries(buf2,true);

SetIndexStyle(0,DRAW_LINE);

IndicatorShortName("YangTrader (13,21,34,55,89,144) - http://yangshu.net");

return(0);

}

 

int start()

{

int limit=Bars;

for(int i=0; i<limit; i++)

{

double HHV=High[iHighest(NULL,0,MODE_HIGH,TimeWindow,i)];

double LLV=Low[iLowest(NULL,0,MODE_LOW,TimeWindow,i)];

buf2[i]=100*(Close[i]-LLV)/(HHV-LLV);

}

for(i=0; i<limit; i++) buf[i]=iMAOnArray(buf2,limit,Sensitive,0,MODE_LWMA,i);

return(0);

}

30.09.2011 09:57 yangshu

Thanks for this good indicator.

I have this error when running the indicator.

YangTrader 4

Please help us fixing it.

Thanks very much

08.09.2011 17:57 ultimaforex

sty671:
Your indicator, as you know, is not trading in the correct direction some times- I can tell you how to fix your indicator so it is trading in the correct direction. You can answer to [email protected] . But you need to code it and you need to promise and that you will do it and a free copy to me, if you agree write to [email protected]

Who are you ? Oh my God !

05.09.2011 06:21 yangshu

seekers:

yangshu:

seekers:
Interesting

Till now I thought that Hull moving average was invented by Alan Hull and that stochastic oscillator was introduced by George lane some 60 years ago ... but now I can enjoy words of wisdom of not 1 but 2 true inventors of those indicators (and they are even quarreling who invented them :)) . Amazing. If I have died some time ago I would have never learned that those things were not invented yet ... till this post 🙂

seekers :

you're right ! that moving average line comes from an other indicator, I didn't know who is inventer,just to borrow. YangTrader is core, YangTraderMain is accessory .

stochastic oscillator ? YangTrader is not stochastic, I do not believe that dynamic mathematical methods,they are always changing。

100*(Close[i]-LLV)/(HHV-LLV); == Stochastic oscillator (to the last letter of its definition)

Aplying linear weighted moving average to the above result in order to make it smoother does not change the fact that it is a stochastic oscillator. Some more info about stochastic oscillator can be found here : http://en.wikipedia.org/wiki/Stochastic_oscillator

maybe you're right . before your remind, I have never come to understand Stochastic oscillator .

05.09.2011 06:19 yangshu

yangshu:

seekers:
Interesting

Till now I thought that Hull moving average was invented by Alan Hull and that stochastic oscillator was introduced by George lane some 60 years ago ... but now I can enjoy words of wisdom of not 1 but 2 true inventors of those indicators (and they are even quarreling who invented them :)) . Amazing. If I have died some time ago I would have never learned that those things were not invented yet ... till this post 🙂

seekers :

you're right ! that moving average line comes from an other indicator, I didn't know who is inventer,just to borrow. YangTrader is core, YangTraderMain is accessory .

stochastic oscillator ? YangTrader is not stochastic, I do not believe that dynamic mathematical methods,they are always changing。

100*(Close[i]-LLV)/(HHV-LLV); == Stochastic oscillator (to the last letter of its definition)

Aplying linear weighted moving average to the above result in order to make it smoother does not change the fact that it is a stochastic oscillator. Some more info about stochastic oscillator can be found here : http://en.wikipedia.org/wiki/Stochastic_oscillator

03.09.2011 21:45 seekers

Your indicator, as you know, is not trading in the correct direction some times- I can tell you how to fix your indicator so it is trading in the correct direction. You can answer to [email protected] . But you need to code it and you need to promise and that you will do it and a free copy to me, if you agree write to [email protected]
28.08.2011 15:05 sty671

seekers:
Interesting

Till now I thought that Hull moving average was invented by Alan Hull and that stochastic oscillator was introduced by George lane some 60 years ago ... but now I can enjoy words of wisdom of not 1 but 2 true inventors of those indicators (and they are even quarreling who invented them :)) . Amazing. If I have died some time ago I would have never learned that those things were not invented yet ... till this post 🙂

seekers :

you're right ! that moving average line comes from an other indicator, I didn't know who is inventer,just to borrow. YangTrader is core, YangTraderMain is accessory .

stochastic oscillator ? YangTrader is not stochastic, I do not believe that dynamic mathematical methods,they are always changing。

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.