You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
thanks Igorad!!!!
@
Kan somebody translate this cmc codec into metratrader 4 codec for me?
it is a automatic system!
Code;
Atr =AverageTrueRange[50](close)
keyofday=(high + low +close)/3
buyeasierday =1
selleasierday=1
if (close> keyofday) then
selleasierday =0
endif
if(close<=keyofday)then
buyeasierday =0
endif
if (buyeasierday =1) then
longEntryPoint=open +atr*0.0
shortEntryPoint=open-atr*0.5
endif
if ( selleasierday =1) then
longEntryPoint=open +atr*0.5
shortEntryPoint=open-atr*0.0
endif
//LongEntry
if close>= longEntryPoint and not longonmarket then
buy 10000 shares at longEntryPoint stop realtime
elsif not longonmarket then
endif
longliqpoint=entryquote-3*atr
//LongExit
if close<longliqpoint and longonmarket then
sell at longliqpoint stop realtime
endif
//ShortEntry
if close<=shortEntryPoint and not Shortonmarket then
sellshort 10000 shares at shortEntryPoint stop realtime
elsif not shortonmarket then
endif
shortliqpoint=entryquote+3*atr
//ShortExit
if close >=shortliqpoint and Shortonmarket then
exitshort at shortliqpoint stop realtime
endif
Indikatorcode;
atr=AverageTrueRange[50](close)
keyofday=(high + low +close)/3
buyeasierday =1
selleasierday=1
if (close> keyofday) then
selleasierday =0
endif
if(close<=keyofday)then
buyeasierday =0
endif
if (buyeasierday =1) then
longEntryPoint=open +atr*0.0
shortEntryPoint=open-atr*0.5
endif
if ( selleasierday =1) then
longEntryPoint=open +atr*0.5
shortEntryPoint=open-atr*0.0
endif
return longEntryPoint as "Long",shortEntryPoint as"Short"
I think it is useless to do the buy/sell easier calcs if you are going to use this:
if (buyeasierday =1) then
longEntryPoint=open +atr*0.0
shortEntryPoint=open-atr*0.5
endif
if ( selleasierday =1) then
longEntryPoint=open +atr*0.5
shortEntryPoint=open-atr*0.0
endif
What difference does it make?
This is a plain vanilla volatility expansion/breakout system.
Hello Maji,
As well (and which for one) that system is not points I is so exact not from me developed, I have only bit changed and tested with the baking test of CMC and the result well out too well and was to be that because of wants I with the MT4 program to also test. Can you help me ?
Greeting.
I believe Igor wrote an EA for the volatility breakout tests. Do a search for it.
Good luck.
Thanks Maji
ATR trailing stop.
Bonjour a tous.
I'am new to this forum, and i want to thanks for all the good stuff one can find here.
I'am looking for an EA to modify my sl according to atr. I found some here but no one seems to work on the MT4 last build i use with Ibfx.
Thank again.
Here is the Chandelier Stop Indicator based on ATR volatility range.
Merci beaucoup Mangman
i give it a try.
Here is the Chandelier Stop Indicator based on ATR volatility range.
mangman, what kind of forward results are you getting?
Thanks,
Chris