Download MetaTrader 5

Indicators: Optimize cross Moving average

To add comments, please log in or register
Have you made a screenshot in MetaTrader? Share it with friends!
MetaQuotes Software Corp.
Moderator
181050
MetaQuotes Software Corp. 2010.03.03 12:15 

Optimize cross Moving average:

On of my books says about moving average, that there is no "magic settings", this indicator tries out a lot of possible combinations between a long and a short moving average.

Author: Thomas Quester

Meta2
364
Meta2 2010.03.03 14:40  

Hi,

use the XO_A_H for filter. If the level for example are =1, no trade. Only trades, when the value is over 1

Look at the first indicator window

j_l

MQL4 Comments
16319
MQL4 Comments 2010.03.03 15:12  
Meta1:

Hi,

use the XO_A_H for filter. If the level for example are =1, no trade. Only trades, when the value is over 1

Look at the first indicator window

j_l

Hello Meta1

where can we find XO_A_H and somme explanations ?

Thks

Phil

Meta2
364
Meta2 2010.03.03 15:22  

I can't upload the mql file. sorry. I don't know why.

MQL4 Comments
16319
MQL4 Comments 2010.03.03 20:16  

Here is a description and code for avoiding trading in a consolidated market with Moving Average Inidcators.

/en/code/9509

I'm VERY new to programming but interetesd in Moving Averges as well.

I'd like to try your EA with the Consalidations trade lockout once you get it integrated if you are willing to share it.

Regardless, good luck and I hope this helps

Dua Yong Rew
5422
Dua Yong Rew 2010.03.03 20:32  

i was thinking how to auto optimize moving average cross over yesterday.

good to see such script around.

Thomas Quester
19
Thomas Quester 2010.03.04 12:28  
FourX:

Here is a description and code for avoiding trading in a consolidated market with Moving Average Inidcators.

/en/code/9509

I'm VERY new to programming but interetesd in Moving Averges as well.

I'd like to try your EA with the Consalidations trade lockout once you get it integrated if you are willing to share it.

Regardless, good luck and I hope this helps

Hi, I already made an EA out of it, however it is mostly loosing, so the working title is now "GTA" - Greece Trading Automat (you need a bailout after using it), if you think, you are paying too much taxes, you may give it a try.

I think the idea of forexavatar is good, designing some kind of channel and testing for a breakout. An easier way to avoid consolidation problems may be looking at slower periods like 50/200. Some literatur also recommends creating a band with two MAs, one for the open price and one for the close price.

MQL4 Comments
16319
MQL4 Comments 2010.03.05 11:40  
Meta1:

I can't upload the mql file. sorry. I don't know why.

I'm not sure just what exactly it is that you want to upload, but I am looking for the list of types of uploads that MQL allows. I'm not finding it but I believe they allow text uploads. You might try saving it as a VERY rudimentary (DOS) text with the most basic word processer you can find so it doesn't ad all sorts of control codes to it.

Another option is to post it somewhere on the web and supply the URL to it.

MQL4 Comments
16319
MQL4 Comments 2010.03.05 12:10  
tflores:
FourX:

Here is a description and code for avoiding trading in a consolidated market with Moving Average Inidcators.

/en/code/9509

I'm VERY new to programming but interetesd in Moving Averges as well.

I'd like to try your EA with the Consalidations trade lockout once you get it integrated if you are willing to share it.

Regardless, good luck and I hope this helps

Hi, I already made an EA out of it, however it is mostly loosing, so the working title is now "GTA" - Greece Trading Automat (you need a bailout after using it), if you think, you are paying too much taxes, you may give it a try.

I think the idea of forexavatar is good, designing some kind of channel and testing for a breakout. An easier way to avoid consolidation problems may be looking at slower periods like 50/200. Some literatur also recommends creating a band with two MAs, one for the open price and one for the close price.

I'm not sure just exactly what it is that you are refereing to with the 'ForExAvatar'.

I've been accomplishing the same function by measuring the price with an iMA at some (adjustable) point in the previous bar timeFame with an iMA and then I program an adjustable minimum difference between it and the closing price of the current bar before it is allowed to place a new order. I have it so that this miminum pip level can either include the spread or not. These all take place at the very start of a new bar but I have been having trouble with getting the info from the new bar so currently I'm just using the closing prcie of the previous bar right after the new bar starts.

I've been having trouble getting it to open trades consistantly: it keeps truning them on & off for now apperent reason. I also haven't got closing the trades out working properly yet either. Ahhh the joys of a newbe! NOT!

Good luck to all of us!

MQL4 Comments
16319
MQL4 Comments 2010.03.05 12:15  
Meta1:

I can't upload the mql file. sorry. I don't know why.

I'm to new to know what the 'XO_A_H' are ?

Enlighten us prey tell if you would.

Meta2
364
Meta2 2010.03.05 18:05  

XO_A_H is little bit like the sniper, but it is only repainting on the current bar. That's important!!

1234
To add comments, please log in or register