Set it up as an enum: https://fxdreema.com/shared/R8XxH6iSc
Best posts made by jstap
-
RE: Buy only Sell only MT5posted in Questions & Answers
-
RE: Buy only Sell only MT5posted in Questions & Answers
@sktsec you do not need to select int any ware, because it is using the ENUM data type, all you need is ENUM and the named type. In the other blocks you need numeric not text.
-
RE: Buy only Sell only MT5posted in Questions & Answers
@merajmusic It is how the logic is set up, if all is correct for a sell place a sell, but if you want both there is no yellow connection linking back to "BOTH", you either link back like the picture, or you make the choice above your buy/sell trees. It depends on how you want this set up to work.

-
RE: Buy only Sell only MT5posted in Questions & Answers
@sktsec His condition didn't have text, it was yousef builder that did.
-
RE: how to draw fibbs from another objectposted in Questions & Answers
Yes if you search fib you will find how to do that I would think. Like this: https://fxdreema.com/forum/topic/19269/using-fibonacci?_=1759609337943
-
RE: Turning on and off blocksposted in Questions & Answers
I

I wouldn't have once per bar above that many conditions. And I would have 2 check profits (what you had may have worked but I have never tried it). -
RE: Cut long numbersposted in Questions & Answers
Not exactly sure what you need but if you put this in text code input: DoubleToString(x.xx,2)
x.xx being the number you want to cut, you can also add the name of a variable and this will be cut, 2 is the number of digits past the decimal point.
-
RE: How to send "Push Notification"posted in Questions & Answers
If phone is connected to your pc terminal by getting the number from your phone, that's in the picture. Then your phone can receive notifications. I cant remember exactly because I haven't done so in years, but I think this cam do all you want.

-
RE: How to get the Average Value of the Indicator for nBarsposted in Questions & Answers
it sets the atr variable to 0, then loops through and add us the value from the last number or candles in the candle range, then it takes this total number, and divides it by the number or candles in the range giving you the average number over the range.
-
RE: Need 50% of range to create variable priceposted in Questions & Answers
Maybe you are over thinking this? The mid price of the day candle is the 50% value, so may find this the best way to work with it.

-
RE: Need 50% of range to create variable priceposted in Questions & Answers
Ok so the mid of the range in the day, you can use a formula block to get this:

-
RE: Need 50% of range to create variable priceposted in Questions & Answers
You can draw lines on those places like this:
https://fxdreema.com/shared/8Hr6vlcrd
-
RE: MT5 COLUMN PARAMTERSposted in Questions & Answers
You can fine the code on the MQL5 wed site, search google to find' for example AccountBalance() [Equity/Profit Etc] will return that value
-
RE: Placing Pending Orders on WRONG VALUESposted in Questions & Answers
Maybe, not the 1st time GMT time doesn't appear to work correctly. If you use meta trader code it will probably work (I use server and just change the input time to match). On mt4 GMT in backtest uses server time.
-
RE: find Candel Fullposted in Questions & Answers
Or you could use soincle candle template and minimise wick size by %

-
RE: What does the EA remember when restarting MT4/5?posted in Questions & Answers
None will, blocks that do the calculation there and then don't need to, other than that only something that saves data to a global (terminal) variable can remember.
-
RE: What does the EA remember when restarting MT4/5?posted in Questions & Answers
Or just draw the line in your EA before using, generally using the price rather than a visible object makes more sense, but these will be deleted when closing terminal/removing EA from chart, so a global variable would need to be used, you could then use this price to draw the line.
