@gurpals Do this on the on trade tab: 
Posts made by jstap
-
RE: Previous Pending orders Delete.posted in Questions & Answers
-
RE: pending order based on candle + ATRposted in Questions & Answers
@andrewfrank This will add the multiplied ATR pips to candle price but, you have to add like this
+ATRPX pips
"pips" will ensure this value is added as pips.
-
RE: Closing strategy for EURUSDposted in Questions & Answers
@rodrigo-ortuzar Am on phone now so using this forum is more difficult than normal, if no stops are placed then as trail settings become true stops will be placed, if trade goes in wrong direction the loss will just get worse.
-
RE: 1 MA CROSSES 2 MAposted in Questions & Answers
@mr-lenny Use 2 loops like this: https://fxdreema.com/shared/G5VpEVNwb as both come true your conditions are met.
-
RE: Closing strategy for EURUSDposted in Questions & Answers
@rodrigo-ortuzar SL and TP are placed wherever you se them in the buy/sell block, when other settings in the trail block are true the stops will move accordingly.
-
RE: pending order based on candle + ATRposted in Questions & Answers
@andrewfrankUse as is, the line ATRPX= (ATRPIPS*ATR_X); will take the ATRPIPS variable multiply it by ATR_X constant and put the result in the ATRPX variable, use this where you require the multiplied ATR.
-
RE: EA to buy when evening star pattern fail and sell when morning star pattern failposted in Questions & Answers
@arrow82 Once you have the candle ID you have open/high/close/low prices, then simply if market properties interact with chosen price do what is needed.
-
RE: MT5 "netting mode", how to set target for account, works even EA restarted ?posted in Questions & Answers
@migen The easiest way is to not let the computer turn off, the other way is to store your required value in a global variable, and read every time EA starts, there are blocks that can do this but I am unsure how.
-
RE: daily profit target helpposted in Questions & Answers
@oketab36 That how much percent of balance to close and stop trading, you could also not use this and use a fixed money amount in a constant.
-
RE: EA to buy when evening star pattern fail and sell when morning star pattern failposted in Questions & Answers
@arrow82 Start by creating a project that identifies your version of engulfing candle, then you have the candle ID to work from, remember every new candle adds 1 to the ID.
-
RE: daily profit target helpposted in Questions & Answers
@oketab36 There are different ways to do this, this is how I do it: https://fxdreema.com/shared/h7Tfd46Fd
-
RE: candle count after EMA cossposted in Questions & Answers
@nguyenjohn There are 2 ways I know off, first is to start/stop/reset and count once per bar, the second and my preferred option is to start a loop every time the ma crosses this causes the candles to start counting a fresh every time the ma's cross you'll see how in this link:
https://fxdreema.com/shared/1fU5BZjvb -
RE: Capture Current Time In Variableposted in Questions & Answers
@raveon That value is the seconds after 1970, you can see how to do it here: https://fxdreema.com/shared/kcFzx8a5b
-
RE: Multiply ATR Value to Determine my Stop Loss in Pips (Help Please!)posted in Questions & Answers
@sjacques20222 Here you go, if you search ATR this is one of the first links: https://fxdreema.com/forum/topic/12802/atr-pips
-
RE: Why am I getting loss trades because trades are not closing at 2 MAs crossing?posted in Bug Reports
@veetee I couldn't get the shared project to work, try posting another.
-
RE: Closing strategy for EURUSDposted in Questions & Answers
@rodrigo-ortuzar It's the trailing stop block you have in your attached project, start = when to start the trail, step = mow much profit before moving the stop, stop = how far behind price to keep the stop, this happens in the order stated so,
1st = start
then 2nd = step
then 3rd = stopYou can also use break even if you only want stop to move once, you can start/stop these blocks with any condition above.
-
RE: Closing strategy for EURUSDposted in Questions & Answers
@rodrigo-ortuzar I have never used these blocks but all those options are in the standard trail block.
-
RE: Multi TimeFrame EAposted in Questions & Answers
@abbas25 Like this, check the tabs.https://fxdreema.com/shared/LkX7Q6Ycd