fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Zackry
    3. Posts
    • Profile
    • Following 2
    • Followers 6
    • Topics 78
    • Posts 386
    • Best 25
    • Controversial 0
    • Groups 0

    Posts made by Zackry

    • RE: need advice on using variables to select buffers of a custom indicator...

      @l-andorrà true that 🙂

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: need advice on using variables to select buffers of a custom indicator...

      @miro1360 Awesome , absolutely awesome 0_1594221706564_3486101d-078a-4d62-96ed-10befb60ef9d-image.png

      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

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: need advice on using variables to select buffers of a custom indicator...

      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/JVWB9MzYc

      if 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

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: need advice on using variables to select buffers of a custom indicator...

      @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 🙏

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: need advice on using variables to select buffers of a custom indicator...

      @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

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: need advice on using variables to select buffers of a custom indicator...

      @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 ;)"

      posted in Questions & Answers
      Zackry
      Zackry
    • need advice on using variables to select buffers of a custom indicator...

      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 :
      0_1593439955372_Screenshot_6.png
      But the EA seems to be halting the execution at block 3 and not executing any other block after the block 3

      Here is the EA i am working on :
      https://fxdreema.com/shared/Yg3NrL95c
      https://fxdreema.com/shared/JVWB9MzYc

      This is the indicator i am using :
      https://www.mql5.com/en/market/product/11131

      The 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 buffers

      i 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

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Apply template on chart ?

      @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...

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Apply template on chart ?

      @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)

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Apply template on chart ?

      @ambrogio i am currently trying something with custom mql code
      if it works then i will post the code here

      posted in Questions & Answers
      Zackry
      Zackry
    • Apply template on chart ?

      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

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Buttons on chart

      @l-andorrà same here didnt find anything , i guess we need to create a proper content index of the posts made by miro 😄 😄

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Buttons on chart

      @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

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Placing pending order on highest candle

      @omarramzi yep its very much possible and simple
      here :
      https://fxdreema.com/shared/fOi4douob

      0_1592155869427_Screenshot_1.png
      arrows are pointing towards the start and finish of the candle period

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Read Label from indicator buffer?

      @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

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: Read Label from indicator buffer?

      @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");

      posted in Questions & Answers
      Zackry
      Zackry
    • Read Label from indicator buffer?

      is there any way to read the text label from and indicator buffer ?

      posted in Questions & Answers
      Zackry
      Zackry
    • RE: select buffers pragmatically?

      @l-andorrà hahahahahahah well, what, can I say... This issue has been bugging me for quite sometime now

      posted in Questions & Answers
      Zackry
      Zackry
    • select buffers pragmatically?

      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 ?

      posted in Questions & Answers
      Zackry
      Zackry
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 19
    • 20
    • 5 / 20