Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Change PRICE_OPEN to PRICE_CLOSE that should help the repaint issue.
__________________
My Disadvantage is that I am not a Trained Programmer - My Advantage is that I am not a Trained Programmer. http://cjatradingtools.com/
Hello, Master CodersGuru! I'm new Trader-Student, and not speek MQL4- and English-Languages. Plese You for help my! I like to find one Function, for: "Close All Positions of exactly fixed Price". Thank You, very much, for The Programs, thet You are publish release! Thank You!
I'm writing a basic EA that initiates a trade based on the 8 and 13 EMA crossing on H1.
When I backtest this I see that during certain periods, the lines crossover and re-crossover giving false signals...basically price is trading up and down in a tight range and causing the crossover signals to fire.
As you know, the MA crossover works best in a trending market, not when it's bobbling up and down and not going anywhere.
See attached chart for an example of what I mean...between the blue vertical lines I have marked 5 'X' spots where the lines crossover.
Is there any indicator I can use to add to the existing EA MA crossover signals system to prevent entering a trade during times when price is whipsawing up and down. How can I 'programmatically' tell when not to enter a trade during these conditions?
Will this EA(EMA_CROSSmod.mq4) recognize if a trade has not been closed while the computer was turned off because of an electricity outage or internet connection problem in my area? And will it be able to resume the same trade?
i downloaded a simple Moving Average Price Alert here some time ago.
Unfortunately i'm having trouble getting the alert to play a custom sound (i.e i cannot choose my own wav sound file); the indicator simply keeps defaulting to the standard alert.wav file in the MT4 sounds folder..
can anyone help??!? im going crazy, cant seem to figure out whats wrong with the code!!
I been looking for an EA that can follow this system. But so far
without any success. So let me explain how it works and it sure
works very well.
Pair: GBPUSD
Time: H1
EMA: 7
EMA: 14
SELL:
7 moves below 14. No wait for at least 1 candlestick to be below the cross
where high low price is clear of the EMA's. Can't touch. Upon next retrace,
and price at least break any of the EMA with 1 pip. We enter short.
The filter here is the clear candlestick. Stop Loss is 100 pips and take
profit is 100 pips. BUT when 50 pips has been gained move stop loss to
break even (Entry price). Or activate trailing SL 25 pips.
Buy:
7 moves above 14. No wait for at least 1 candlestick to be above the cross
where high low price is clear of the EMA's. Can't touch. Upon next retrace and price at least break any of the EMA with 1 pip. We enter long.
The filter here is the clear candlestick. Stop Loss is 100 pips and take
profit is 100 pips. BUT when 50 pips has been gained move stop loss to
break even (Entry price). Or activate trailing SL 25 pips.
When EMA whipsaw there is normally no clear candle. A filter
who with x pips between EMA lines would be good as well. But
is not required.
Is there any EA available like this or can anyone code it?
I try several experts (mq4) EMA which I download from this forum but I have always the same results.. There are good but when I see Open chart, sometimes I see another order (for example when ShortEma(10)<LongEma(90) is realized BUY order, not SELL).
I don t know where is problem because I tried to simulate a lot of experts and always the same results. Experts usually work correctly but I always see some mistakes.
I been looking for an EA that can follow this system. But so far
without any success. So let me explain how it works and it sure
works very well.
Pair: GBPUSD
Time: H1
EMA: 7
EMA: 14
SELL:
7 moves below 14. No wait for at least 1 candlestick to be below the cross
where high low price is clear of the EMA's. Can't touch. Upon next retrace,
and price at least break any of the EMA with 1 pip. We enter short.
The filter here is the clear candlestick. Stop Loss is 100 pips and take
profit is 100 pips. BUT when 50 pips has been gained move stop loss to
break even (Entry price). Or activate trailing SL 25 pips.
Buy:
7 moves above 14. No wait for at least 1 candlestick to be above the cross
where high low price is clear of the EMA's. Can't touch. Upon next retrace and price at least break any of the EMA with 1 pip. We enter long.
The filter here is the clear candlestick. Stop Loss is 100 pips and take
profit is 100 pips. BUT when 50 pips has been gained move stop loss to
break even (Entry price). Or activate trailing SL 25 pips.
When EMA whipsaw there is normally no clear candle. A filter
who with x pips between EMA lines would be good as well. But
is not required.
Is there any EA available like this or can anyone code it?
Thanks,
Daniel
Hi Daniel:
Thank you for posting this entry method.
From brief backtesting I can't find much use for the 14ema at entry. Seems the candle always pulls away from the 7 with no need for the 14ema. However, the 14e may help with deciding to stay in the trade.
I know a professional who scalps similar to this entering when price breaks beyond the pulled away candle and stays in as long as next candles are pulled away from the ema.