once per bar will only allow something to happen once in a candle
Posts made by jstap
-
RE: condition fot trades (one per bar)posted in Questions & Answers
-
RE: Repeat buy or sell from the same price pointposted in Questions & Answers
So at the start of the day, your balance is set to the current account balance.
-
RE: CLOSE TERMINALposted in Questions & Answers
Thank you, and I forgot to say yes these values are stored so even if the terminal closes/crashes they are saved
-
RE: CLOSE TERMINALposted in Questions & Answers
F3 in your platform will open the variable panel, from here you can manually change the value, but normally it would take an EA to change, any EA on the platform will do it so you can use it to make an EA work on another EA.
-
RE: EA by High Low daily touch line and open tradeposted in Questions & Answers
Try this, but you need a value from the line for it to work:

-
RE: The highest and lowest price of the current dayposted in Questions & Answers
the easiest way would be to record the price every time you want to remember it in a variable, so once per minute save, but if you wanted every hour you would need 48 variables, at the start of the day reset all back to 0, then change as needed
-
RE: How to get object value of Custom Indicator without manually adding it in my chart like using the buffers of it Fxdreemaposted in Questions & Answers
Save a template containing the indicator with the same name as your EA, this should load it every time you start testing.
-
RE: How to Check Date and Time to Terminate EAposted in Questions & Answers
you can select this date in settings, click on the spanner button
-
RE: How to delate pending orderposted in Questions & Answers
on trade tab - trade created - delete pending
-
RE: Restarted mt5posted in Questions & Answers
yes if the trade is still running and your MT terminal is running
-
RE: opposite trade when drawdown is 100 pipsposted in Questions & Answers
Your logic is ok, as I mentioned, when no trade everything will be back at the start
-
RE: opposite trade when drawdown is 100 pipsposted in Questions & Answers
The reset has nothing to reset as this resets only the green blocks, pink blocks go back to the start when trades are closed. Not sure what you expect the close block to do...

-
RE: CLOSE TERMINALposted in Questions & Answers
if you have a single block it will not work, so by placing a pass the block will work, generally I will put the pass block above, but any block connected to another will make it work
-
RE: will it work copy MT5 TO MT4?posted in Questions & Answers
Generally, if a block says position it is MT5, if it says trade it is MT4, this will help to convert most, but as @l-andorrà has said it is often better to recreate from scratch
-
RE: Simple strategy with over 75% accuracy and Payoff above 3:1posted in Questions & Answers
@l-andorrà @Byens has already shared an indicator doing this...
-
RE: Restarted mt5posted in Questions & Answers
Actually, unless I read wrong, a trade that is already running will still be managed by the EA that placed it. The pink block only works under a for each, and I believe the once per resets if EA is restarted.
-
RE: CLOSE TERMINALposted in Questions & Answers
Something like what's in this link, create the name of the global variable so if you change settings it changes with them, then use in the place of other blocks.
In here https://fxdreema.com/shared/vJBopmrEd is an example -
RE: CLOSE TERMINALposted in Questions & Answers
No, but you can create a terminal (global) variable, and use this instead, these are stored on your computer, so closing doesn't affect the value.
