Download MetaTrader 5
To add comments, please log in or register
Write articles and earn money. We pay 200 USD for them!
MetaQuotes Software Corp.
Moderator
180133
MetaQuotes Software Corp. 2013.02.19 08:20 

X trader v2:

Trades when two moving averages cross each other

Author: Tonny Obare

MQL4 Comments
16319
MQL4 Comments 2013.02.19 11:05  
Hey Tonny!
Great EA.. however TP and SL don't work properly.. I tried with TP 70 and SL 50 but they don't work.. any idea?
Tonny Obare
1018
Tonny Obare 2013.02.19 15:12  
gianmarcosaleri:
Hey Tonny!
Great EA.. however TP and SL don't work properly.. I tried with TP 70 and SL 50 but they don't work.. any idea?
Close all trades opened by the EA and test it again.
MQL4 Comments
16319
MQL4 Comments 2013.02.20 11:28  
 I did it.. if I put TP "30".. it turns out to be 300 pips! and if I put "3" it does not put any TP..
Pedro Pacheco
306
Pedro Pacheco 2013.02.22 01:19  
2013.02.22 01:18:28 2012.04.10 18:00  MT4-FST Expert EURUSD,H1: expert stopped

What's wrong? 


MQL4 Comments
16319
MQL4 Comments 2013.02.26 09:10  

i use FXPRO as a broker.. don't know how use TP and SL.. this is a great EA! Can you help me Tonny?

MQL4 Comments
16319
MQL4 Comments 2013.02.28 11:08  

Hey Tony

can you made the same version with stop loss and closing orders at the cross of ma Please

MQL4 Comments
16319
MQL4 Comments 2013.02.28 11:18  

hey tonny

sorry correction with trailing stop and closing orders at the cross of ma 

Assy
3
Assy 2013.03.01 11:22  
it work fine but if TP and SL don't work try this, i didn't tested it: 

                // Calculate take profit
                double tpb=NormalizeDouble(OrderOpenPrice()+TP*10*Point,Digits);
                double tps=NormalizeDouble(OrderOpenPrice()-TP*10*Point,Digits);
                // Calculate stop loss
                double slb=NormalizeDouble(OrderOpenPrice()-SL*10*Point,Digits);
                double sls=NormalizeDouble(OrderOpenPrice()+SL*10*Point,Digits);


MQL4 Comments
16319
MQL4 Comments 2013.03.01 14:59  
comment coder le trailing stop please
Sirru82
71
Sirru82 2013.03.03 22:02  

SL & TP are not verified and adjusted against StopLevel. That is why you all having problems.

/ /123
To add comments, please log in or register