To draw a line on the cross you can do this: https://fxdreema.com/shared/VQVkfqQcc
Posts made by jstap
-
RE: Draw objects on chartposted in Questions & Answers
-
RE: Can someone explain how to incorporate flags into a project 'posted in Questions & Answers
You could so if "this" happens set a flag so "that" happens... probably easier to use the on trade tab... trade closed check why... do "that"... if you say what you want to happen I will tell you the blocks to use.
-
RE: For each new position modify last position stop lossposted in Questions & Answers
No that complicated but the only way to know is to set up a project and test things on backtest/demo.
-
RE: For each new position modify last position stop lossposted in Questions & Answers
As I said do this on the on trade tab, this way things will only change at trade open time, then use a for each block to select only the trade(s) you want to change
-
RE: For each new position modify last position stop lossposted in Questions & Answers
Glad it's working, what I put was to not change any other than the one you want. For example, you can u use newest to oldest but miss 1 so you select 2, and place the SL at 1 SL, thus leaving a cascading effect where every new trade moves the SL up so they are all on the same level.
-
RE: For each new position modify last position stop lossposted in Questions & Answers
on trade tab... trade opened... for each trade/order... modify stop... move the last opened SL where you want it. In the for each trade/order blocks you can select each by missing trades you don't want to change
-
RE: Why MT5 EA correct logic but is not workingposted in Questions & Answers
I agree it is different, the used logic is more, but on FX which is why it is good is not different: missing a SL MT4 or MT5 works the same.
-
RE: Why MT5 EA correct logic but is not workingposted in Questions & Answers
Any calculations that say depending on Sl only work is a SL is set.
-
RE: Using Constants for Timeframeposted in Questions & Answers
Yes it is but it depends where you mean.
-
RE: Correction of lot sizeposted in Questions & Answers
Interesting, a hard reset must change the folder value. Previously I use this and it works, a computer though is not a battery backed up laptop, so this may be what saves the value from being deleted.
-
RE: Correction of lot sizeposted in Questions & Answers
I t will always use it if that is used, you may need other blocks that reset this value at times, but this is a strategy specific setup.
-
RE: Correction of lot sizeposted in Questions & Answers
couple of choices, save as a terminal variable, or get the last value from the last trade. But both of these have there own nuances, terminal (global) is most similar to a normal variable but is saved on your computer so does not delete on power cut.
-
RE: notify when trailing stop initiatesposted in Questions & Answers
try saving the SL price under opening the trade, then in a condition check if SL price is (different) != to the variable price, pass once and send the notification, reset the pass once block when trade closes.
-
RE: Auto delete object on chatposted in Questions & Answers
@iftikhar123ali Start a new question for this
-
RE: Auto delete object on chatposted in Questions & Answers
Various ways but this should do it: https://fxdreema.com/shared/NKJfGGLDb
-
RE: How to protect image from being changeposted in Questions & Answers
This image is inside the .mq source code, so only give the .ex code to people... the compiled code.
-
RE: OR Block Validationposted in Questions & Answers
I you want to know which condition block triggered the or block you will need a block in between that records the path used. A string variable that modifies to a block will have your chosen name... you can overwrite above modify or reset as needed.
-
RE: Close All MT5 trades quicklyposted in Tutorials by Users
@hasanrockefeller Not an acceptable answer! Your link is dodgy, and this site is for meta trader trading.