@bagheria No sorry that was just a project I was doing, do it as a constant, and then add orange. You only need Variables if EA is to change the value at some point.
Posts made by jstap
-
RE: Too many inputs, how reduce them?posted in Questions & Answers
-
RE: how to open multiple orders in my EA?posted in Questions & Answers
@joe_fx I agree that information on what to di id hard to find, the link above will give you the EA I changed, if you press the MQ button then import back into FX you will get the project, you can then make changes, test on back test until you get enough condition counts to be happy, then you can add in the rest of the desired positions.
-
RE: getting the money value profit of last closed tradeposted in Questions & Answers
@bhadzlagayan This should give you what you need.

-
RE: how to create following candlestick pattern indicatorposted in Questions & Answers
@shubham-0 Your link doesn't work you can have unlimited bull/bear conditions I believe, you have 2 options, bull signal block (yellow) one for multiple candles in row, one for single candle, a standard condition block with open < close. Current candle is 0, previous is 1 etc.
-
RE: Too many inputs, how reduce them?posted in Questions & Answers
@bagheria On the upper left you have constants, name as you like, in your block right click and insert the constant.

-
RE: Counting consecutive lossesposted in Questions & Answers
@bhadzlagayan I would do it like this, then reset variable when needed.

-
RE: I Want To Correction In My Zigzag EAposted in Questions & Answers
@muneeb00 This is how I would set it.
-
RE: Why am I getting warning "Expression is always false"posted in Questions & Answers
@l-andorrà I mean " " if in the constants EA can't match what is needed.
-
RE: how to open multiple orders in my EA?posted in Questions & Answers
@joe_fx link some of your signals aren't registering, use the link and get your conditions registering, each 1 will count and show on back test, once this is doing as needed the EA will place trades.

-
RE: My EA won't place tradesposted in Bug Reports
@forextoddler It is not that it doesn't take trades it's just that the conditions don't happen together often. HERE you can see how I swiched most off to see if things were working.
In this picture in the top right is EA counting when a condition is true, not sure why the MA's didn't count but when ran for most of this year it only placed 1 trade.
0_1632943312716_ddc35fca-5e94-4966-b34d-8a967d1feccf-THE_HOLY_GRAIL1 (3).ex4
When happy with how works add back in the rest, use group number in no trade, buy/sell and close so all are independent to the other.
-
RE: MT5 EA with custom indicator - compilations errorposted in Bug Reports
@vish That statement is only half? symbol and period should have (), and no , after icustom name?
At a guess it should be handle=iCustom(Symbol(),Period(),"Arrow Indicator"); Whenever I have used iCustom after the name I use 1,2 or something, this returns the buffer value from the data window.
Also this code is not in your shared link.
-
RE: One Entry Per Day EAposted in Questions & Answers
@mustafafr010 Something like this will do it.

-
RE: MT5 EA with custom indicator - compilations errorposted in Bug Reports
@vish Is the mode buffer in as an int? things like this have caused me issues before.
-
RE: HELP PLEASEEEposted in Questions & Answers
@aisar In HERE should be what you want, didn't quite get what you first asked for, put your trade conditions above on on tick but not on trade.
