@ambrogio You compile it in the editor that has the indicator and then the ex4 it produces will have it embedded as a resource. You can use that without it. try it out let us know 
Posts made by Hadees
-
RE: create custom blockposted in Questions & Answers
-
RE: create custom blockposted in Questions & Answers
@fabien-s Yeah Bro i only tested on mt4 i don't have 5 . Just add the resource and then rename the indicator name and change ex5 to ex4 wherever it appears
https://www.mql5.com/en/forum/214126
Add this.. mine is under global variables no idea if it should be there but it works lol .http://icecream.me/1f6ba904ad419e3a4bcf8f906b599889
then ctrl+ f search your indicator name and change with this http://icecream.me/f59ea60efa38767ad8e68ab3db2e5f64
-
RE: create custom blockposted in Questions & Answers
@zackry I tried it out and it works if you just add this at the top of the Project mql4 file renaming it with your indicator and change ex4/ex5 if necessary. #resource "\Indicators\SampleIndicator.ex5"
int handle_ind;And then use ctrl+f (search indicator name) - update the name with this wherever it appears "::Indicators\SampleIndicator.ex5" (Change the indicator name / ex4 if it is for mt4) - Compile it and then test.
Since you will be using it as a resource you should apply constants to it or whatever so you can adjust it easily after adding this. Let me know if you get stuck and i can try do it for you.
I have no idea why but the forum is formatting the double \ into just one so make sure you are adding 2 or just copy from the example in the forum.
-
RE: create custom blockposted in Questions & Answers
@zackry if you look at that post from mladen i think it is really useful. Compare the code from the examples and then just add the changes into your mql4 file from fxdreema. I think you can just add the resource at the top and then use ctrl+f , enter the name of your indicator/ icustom and then add the extra code wherever you see it listed. i will try it with one of mine and report back later.
-
RE: create custom blockposted in Questions & Answers
I found this on the MQL forum i have never done it but it might help https://www.mql5.com/en/articles/1457 - Example from another post https://www.mql5.com/en/forum/214126
//+------------------------------------------------------------------+
//| SampleEA.mq5 |
//| Copyright 2013, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#resource "\Indicators\SampleIndicator.ex5"
int handle_ind;
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//---
handle_ind=iCustom(_Symbol,_Period,"::Indicators\SampleIndicator.ex5");
if(handle_ind==INVALID_HANDLE)
{
Print("Expert: iCustom call: Error code=",GetLastError());
return(INIT_FAILED);
}
//--- ...
return(INIT_SUCCEEDED);
} -
RE: Can I let my ea run on a specific server time?posted in Questions & Answers
@caesarcrypto Yes you can put it above the once per bar block. I assume it does work in tester but not 100 %.
-
RE: [Custom Block Release] Send a message or screenshot to Telegram Blocksposted in Tutorials by Users
@zackry try deleting the sendmessage function as it is already defined in sendscreenshot. I followed it and had problems with the send message but got around it by putting the variable in the picture text http://icecream.me/a8f3038debc8b6bfd3fc5e638f78d9d4
-
RE: example: Trendline EAposted in Tutorials by Users
@marianomartinez Check the the candle blocks, miro's project he uses candle high and candle low as you have candle close ?
-
RE: example: Trendline EAposted in Tutorials by Users
@marianomartinez You are missing the if trade blocks. Have you renamed your line if you are drawing it ?.
-
RE: Create Martingale effect without closing tradesposted in Questions & Answers
@specialfx try play around with this https://fxdreema.com/shared/Ax3jjCzb . No trade nearby is currently set to buys in one and sells in another but you can set it to buys and sells so it won't open any nearby either. At the top you have basic money management and i included time filter to skip the hour market makers make spreads go wild.
-
RE: my Martingale EA have problem with layer . Please Help meposted in Questions & Answers
You could check the last trades size and then increase from that or maybe this thread will help ?. https://fxdreema.com/forum/topic/5164/example-save-variables-into-file-and-read-them-back-advanced
-
RE: Create Martingale effect without closing tradesposted in Questions & Answers
@specialfx martingale can work but you must optimise the sequence and range for each pair. I'm trying to find extreme overbought and oversold conditions and start betting then but its hard to find when price is at those points as it can stay overbought and oversold . i recently lost a chunk of money trading martingale manually so probably not best person to ask
even though the entries were decent i overleverged my position and got spiked out of my trades. -
RE: Create Martingale effect without closing tradesposted in Questions & Answers
https://fxdreema.com/shared/K7mu5Qiyd- You ticked the boxes next to lots. You can test your project for errors in fxdreema by pressing the ex4 button and it will list the thing that it is causing the error.
-
RE: How to use ZigZag [advanced]posted in Tutorials by Users
@newby purchase 1 month and compile it

-
RE: Create Martingale effect without closing tradesposted in Questions & Answers
@specialfx you could use sequence on loss http://icecream.me/49eee10f0db5239289181f16b76ff0af . I find it works well with no trade nearby.
-
RE: example: Trendline EAposted in Tutorials by Users
@marianomartinez next to each block on the left hand side there is an explanation of the block, if you hover your mouse over the left side a question mark will appear. http://icecream.me/46c93ca7dfc6f2d7e6ab5198b3ffac0c
-
RE: how many candles?posted in Questions & Answers
https://fxdreema.com/shared/ySaaK92Ac - I cant find the thread this is from but this counts the amount candles since trade closed and might help you. Mess around with on trade and add the conditions you want.