The cross works from X> or X<, for == to work, a tick would have to happen on the exact second.
Posts made by jstap
-
RE: How to check if a Crossover Intersection point is Up a certain Levelposted in Questions & Answers
-
RE: How to wait for a new bar open to place trade ?posted in Questions & Answers
Get a condition block, time now on left == candle time on right, candles have on open time, but no other
-
RE: MT4 to MT5 converting warning "conversion from 'long' to 'int'posted in Questions & Answers
Past the shared link, I can tell you what blocks to change.
-
RE: build an indicatorposted in Questions & Answers
Indicators cannot be created here, you can tell the EA to do this, but only in specific cases.
-
RE: Bollinger Bands Macd triggerposted in Questions & Answers
Yes so only works after condition is true, there is times when to use before a condition, but not normally.
-
RE: MOVING AVERAGE CROSS 2ND TIMEposted in General Discussions
Set up a small test project, just doing the first cross and adding into a variable, display this in a comment. once working, adjust to reset to 0 when the cross = 2, this way you can watch on back test and vissualy check it's what you want.
-
RE: MT4 to MT5 converting warning "conversion from 'long' to 'int'posted in Questions & Answers
Some blocks need to be manually changed, could be causing this, if block says trade, change to mt5 position.
-
RE: xmas holiday - no trade filter - custom codeposted in Questions & Answers
You can do it like this: https://fxdreema.com/shared/5m5IRV06c dates were used for testing, set whatever dates are relevent to you. Check the bool condition, above your buy and sell tree.
-
RE: xmas holiday - no trade filter - custom codeposted in Questions & Answers
As these days are always set, you can use green filter blocks, to switch a flag on and off.
-
RE: Pull Rectangle from Indicatorposted in Questions & Answers
Check your object list, if there you can likley use.
-
RE: EA not working on MT5posted in Questions & Answers
I will add this, start depends on weather you want a instant or a wait for movement of SL, trail step can be any number, because trail stop will affect how far behind price your SL stays, (until hit), so if you have a start of 100, step of 50, stop of 25, nothing will happen until 100, then stop will move to 25 behind 100, and every 50 going forward, the stop will move 25 behind price.
-
RE: Easy way to make ENUMposted in Tutorials by Users
@Paihdt That is telling you, if you want to adjust in inputs, you need to create a MA enum in your costants.
-
RE: Help!posted in Questions & Answers
Rhe close trade block needs to be separate, (connected to other blocks), on the ontick tab.
-
RE: Help!posted in Questions & Answers
On trade if a position is closed, all blocks under will activate
-
RE: How to place an order based on an existing order ?posted in Questions & Answers
Set it up, add a shared link if not working.
-
RE: Help!posted in Questions & Answers
That should work, but why have you got a closed position block? That tree only activates if a position closes.
-
RE: Help!posted in Questions & Answers
You are using the check profit last closed, you need to add a position closed block on top
-
RE: Help!posted in Questions & Answers
I could but is not something I am practiced at, if you want to try, add a shared link, and say what isn't working.
-
RE: HOw i Can Convert This Stretigy Into EAposted in Questions & Answers
I got in wrong, there isn't enough options in single candle template, you can do it like this though: https://fxdreema.com/shared/OXRC89zN, this probably makes more sense though: https://fxdreema.com/shared/f7iajzeCb
-
RE: Help!posted in Questions & Answers
You haven't asked EA to do as you asked, trade closed is a on trade only block, you don't have this. As a general rule, tabs work like this, on tick to place original trade, on trade to work with trade that are running, on chart to work on your live chart, on onit once at start of EA.