@fxdreema Thx for getting back to me on this. Actually what I did is, I created "Custom MQL code" blocks with what I needed. Then I generated the code as .mq4 (.not ex4 because at this stage the .mqh file is not included therefore it won't compile). Afterwards, I went to mql4 editor, added "#include <xxxxx.mqh>" and then compiled everything together. The process is a little bit longer but it works. Thanks a million for your help.
Latest posts made by mndiarra
-
RE: How to do include in "Custom MQL code" ?posted in Questions & Answers
-
How to pass in headers as part of the "Send HTTP request" call ?posted in General Discussions
Hi,
I need to pass http header to the "Send HTTP request" block.
A sample curl command is here "curl -H "X-MBX-APIKEY: dbefbc809e3e83c283a984c3a1459732ea7db1360ca80c5c2c8867408d28cc83"".
I just want to know how to pass in -H in the "Send HTTP request" block.
Thanks in advance for your inputs. -
RE: How to do include in "Custom MQL code" ?posted in Questions & Answers
@l-andorrà No worries, thanks I will try or unless somebody has done this before that would be appreciated. As said, everything is feasible, but the problem is time.
-
How to do include in "Custom MQL code" ?posted in Questions & Answers
Hi,
I was trying to use #include in a block of mine before realising that this is not supported - find below excerpts after clicking on the question mark beside the "Customer MQL code" itself.
<snip>
You also can't define global variables or use #define, #import or #include.
</snip>Is there any workaround for that ? Thanks in advance for your help.
-
RE: Cryptocurrencies are exploding these daysposted in General Discussions
@digitalb23 Hi, have you succeeded in building an EA for the crypto space. If yes, I would like to see the main concepts basically (how to connect to let's say Binance and how to trigger an order). Thanks for your answer.
-
Logical NOTposted in Questions & Answers
Hi,
I am looking for a logical NOT in fxdreema but somehow I could not find it.
Can you please let me know how to make a logical NOT (if something is not True) ? -
How to check if the market is bullish/bearish on a higher timeframe ?posted in Questions & Answers
Hi,
I am currently working on a M5 (5 minutes) timeframe, but I would like to check whether the market is bullish or bearish on a higher timeframe (e.g. M15). How to do that ?
Note: I tried "MACD Divergence (Bullish)/MACD Divergence (Bearish)" but that does not seem to be working for me.
Thanks in advance for your response. -
RE: How to make TP (Take Profit) a variable (based on an indicator) ?posted in Questions & Answers
@l-andorrà Thx, I guess the block you shared is under the "on Trade" tab, right ?