I didn't say how to code, I just said put it in a comment, this way on backtest you can see if it should work.
Posts made by jstap
-
RE: Supertrend block dont work - MT5posted in Questions & Answers
-
RE: close trade blockposted in Questions & Answers
For a start check loss needs a for each trade. close trades individually. The link is all good, but you could have said what doesn't seem to work:

-
RE: Supertrend block dont work - MT5posted in Questions & Answers
Does the buffer contain the value? In a comment block print the buffer value and check if it's got the price value
-
RE: close trade blockposted in Questions & Answers
Yes but need more info on what exactly you are doing
-
RE: Fibonacci retracementposted in Bug Reports
You are redrawing it on every tick, which means it will be named fib1,2,3,4 etc set a reason to draw above and delete when you draw so it is always named fib, let me know if this works...
-
RE: Fibonacci retracementposted in Bug Reports
Add a shared project link to look at, there is no bug in this block
-
RE: EA notification coming too muchposted in Questions & Answers
Add a once per bar block, or a pass once block (this will need resetting) in the tree creating the notification.
-
RE: Notification coming too muchposted in Tutorials by Users
Something like once per bar above, or pass once, but you would need to reset this.
-
RE: Draw lineposted in Questions & Answers
on chart only works when you do something on your chart, I think you want this on tick, if you had for example one per day at a specific time on tick delete then at a time you want the object would be deleted
-
RE: the sell trade to enter firstposted in Questions & Answers
Show a bit more information on what's exactly happening
-
RE: Draw lineposted in Questions & Answers
Yes looks good, as long as you have used the name of your line (is easier to use names)
-
RE: First Candle of the Dayposted in Questions & Answers
You have to draw that manually just so you know what candle should be used, in this link I will set a horizontal line to be drawn on the close with a vertical line and on the candle. I haven't tested: https://fxdreema.com/shared/dkV0dC6sc

