![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Yes. Gimme the mod here. I'll take a look at it.
ok here is how i like to trade it
buy or sel after x pips breakout then after x pips of profit move stoploss to x pips of profit to lock in profit and start trailing from here with x pips and close at end of bar
thanks scorpion
gr leon![Happy](https://c.mql5.com/smilies/happy.gif)
and scorpion can you put in an magic number of somekind that makes it possible to trade same currency pair in different timeframes
thanks leon
hi scorpion are you working on this ea ?
gr. leon
May be I can help a little check This one u can have a better view based on 10 p 3 modified ajusted fixed that what jacob claim.
hi thank for your replay and could you plese explain me what all variables mean that would realy great
![Happy](https://c.mql5.com/smilies/happy.gif)
i cant get it to trade in back testing. it looks like it wont set any buy orders![Huh](https://c.mql5.com/smilies/huh.gif)
hi scorpion are you working on this ea ? gr. leon
Scorpion is current busy working with other misc. stuff, sadly he is the only coder around here that is willing to help. Be patient and hopefully he'll get to you
Lots = 0.10; We start with this lots number, 0.01 for micro accounts and 0.1 for mini and normal accounts
StopLoss = 100; StopLoss
TakeProfit = 10.00; Profit Goal for orders opened
TrailingStop = 5.00; Pips to trail the StopLoss
MaxTrades = 5; Maximum number of orders to open
Pips = 2; Distance in Pips from one order to another
SecureProfit = 10; SecureProtection subsystem will start working
AccountProtection = 1; expert will protect the account
OrderstoProtect = 3; Number of orders to enable the account protection
ReverseCondition = 0; if one the desition to go long/short will be reversed
EURUSDPipValue = 10;
GBPUSDPipValue = 10;
USDCHFPipValue = 7.94;
USDJPYPipValue = 9.03;
mm = 0; if one the lots size will increase based on account size
risk = 12; risk to calculate the lots size (only if mm is enabled)
AccountisNormal = 0; Cero if account is mini/micro
TimeZoneofData = 0; Time zone to calculate the pivots (16)
Scorpion:
Order lifetime = 5 minutes???
Does this mean that if a long or short position is opened it will be closed in five minutes regardless if if the TP or SL is hit?
Hi, yes it'll close regardless of TP or SL. Set to 0 it'll live until TP/SL is hit or the price breaks out the other side.