@l-andorrà true that 
Posts made by Zackry
-
RE: need advice on using variables to select buffers of a custom indicator...posted in Questions & Answers
@miro1360 Awesome , absolutely awesome

I have been trying to solve this issue for a very long time , i even tried the option of creating individual blocks for each cross and i ended up with more then 400 blocks and the resulting ea was slow as hell
Its amazing how 400 blocks can all fit into 2 custom mql blocks, you are genius **Hats off **
your code is working splendidly , and you are right about (EUR>AUD and AUD<EUR, because both are valid in for loop)
I will try and add a check before the alert code to make sure it only alerts for the currency pairs which are present in the market watch or will try and write a list of all 28 valid currency pairs , i think this can help avoid the issue of (EUR>AUD and AUD<EUR, because both are valid in for loop) since AUDEUR is not a pair so it will skip the second alert
Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... for all the effort you put into writing the code
YOU are AWESOME
-
RE: need advice on using variables to select buffers of a custom indicator...posted in Questions & Answers
Hi @roar
thanks for your reply
yes you are right i was experiencing the issue of non existing buffers , so i added sort of a counter check to make sure the number do not exceed to the non existing index (not good with these dynamic things but i tried)
here it is please take a look : https://fxdreema.com/shared/JVWB9MzYcif we simply look at the blocks and the logic i think it should work ....
but there seems to be something that i am missing here , and i cant figure it out on my own due to my limited knowledge of fxdreema -
RE: need advice on using variables to select buffers of a custom indicator...posted in Questions & Answers
@miro1360 ...... @roar..... , you guys around

Really sorry tag you guys like this, but I am kinda desperate
I'll appreciate if you could point me to the right direction please 
-
RE: need advice on using variables to select buffers of a custom indicator...posted in Questions & Answers
@l-andorrà any idea , why this isnt working ? https://fxdreema.com/shared/EpxvbhDBc
i have exhausted most of my brain cells just to find out whats wrong , but didn't find anything -
RE: need advice on using variables to select buffers of a custom indicator...posted in Questions & Answers
@l-andorrà well i was thinking the same thing to use the iCustom function in the custom code block and then use the variable in the buffer parameter
i was just hoping to stay away from using custom code , because i get nervous when i use code
"i guess , curse of not being a programmer ;)" -
need advice on using variables to select buffers of a custom indicator...posted in Questions & Answers
Hello.
i am trying to select the indicator's buffer using the variables , but there seems to be something wrong with it and its not running the block where the variables are being used to select the buffers, is it something that fxdreema dont allow ? or its some other problem in my logic?Here in Block 3 i am using the variables as the buffer names :

But the EA seems to be halting the execution at block 3 and not executing any other block after the block 3Here is the EA i am working on :
https://fxdreema.com/shared/Yg3NrL95c
https://fxdreema.com/shared/JVWB9MzYcThis is the indicator i am using :
https://www.mql5.com/en/market/product/11131The idea is to loop through all the buffers in sequence and generate alert for each and every cross (and giving the name of the currencies that crossed) ie;
AUD buffer crosses above all other buffers
then cad buffer crosses above all other buffers
chf crosses above all other buffers
.
.
.
.
.
till the last buffer usd buffer crosses all other buffersi do know there is an option to individually select the buffers and then generating alerts for every pair i i am stupid enough to actually try that but it went upto 400 blocks and it ended up 100K lines of code , which is not that feasible, so i thought maybe its possible to achieve this using a loop
Thanks in Advance
-
RE: Apply template on chart ?posted in Questions & Answers
@ambrogio same here , altho i thought i was onto something but apparently it was just my mind playing tricks on me (its a bit difficult for someone like me, who knows nothing about programming...
)
but i am still looking for a way tho, i will update here as soon as i find something useful... -
RE: Apply template on chart ?posted in Questions & Answers
@josecortesllobat i am aware of this block and it only apply the template to the chart the ea is attached to and this is not what i am looking for , i need a way to apply the template to all the charts even if the ea is not attached to those chart (meaning change the template of all charts by just adding the ea on one chart)
-
RE: Apply template on chart ?posted in Questions & Answers
@ambrogio i am currently trying something with custom mql code
if it works then i will post the code here -
Apply template on chart ?posted in Questions & Answers
is there any way to accomplish this :
if i attach the ea to one chart , and whenever a new chart is opened then the ea automatically adds the selected template on that chart -
RE: Buttons on chartposted in Questions & Answers
@l-andorrà same here didnt find anything , i guess we need to create a proper content index of the posts made by miro

-
RE: Buttons on chartposted in Questions & Answers
@l-andorrà was it a tutorial made by @miro1360 ? i am also interested in the solution
i will try and search it from miro's profile if possible , but he has a lot of posts -
RE: Placing pending order on highest candleposted in Questions & Answers
@omarramzi yep its very much possible and simple
here :
https://fxdreema.com/shared/fOi4douob
arrows are pointing towards the start and finish of the candle period -
RE: Read Label from indicator buffer?posted in Questions & Answers
@l-andorrà hahahahahaha its actually related to the previous question i asked about selecting different buffers automatically based on the currency , i figured if there is no way to select the buffers then may be i can accomplish the same using the index labels
-
RE: Read Label from indicator buffer?posted in Questions & Answers
@l-andorrà naahhh the information in the buffer is something else (its the value that the buffers have stored)
but the text label is something else ,
the text label is set via SetIndexLabel(0,"abc"); -
Read Label from indicator buffer?posted in Questions & Answers
is there any way to read the text label from and indicator buffer ?
-
RE: select buffers pragmatically?posted in Questions & Answers
@l-andorrà hahahahahahah well, what, can I say... This issue has been bugging me for quite sometime now
-
select buffers pragmatically?posted in Questions & Answers
is it possible to select the indicator buffers programatically?
let say an indicator has 10 buffers , and i want to compare buffer 1 with all other 9 buffers , once its done then move on to buffer 2 and compare it with all other buffers , then buffer 3 then buffer 4 , so on and so forth .....
cuz if i do it manually with fxdreema then there be ton load of blocks , which is really not that great , so if there could be an option to fo it in less blocks ?