fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. ezzakt
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 55
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by ezzakt

    • RE: Find out Candle ID of drawn rectangles

      Ok there seems to be some kind of issue with the update I assume

      What I did:

      I am sitting at a different PC than my home pc. so this morning before I left I copied an xml file of the current project to a stick.
      On the PC I am right now I started the new build, which prompted to update the database. Update was done.

      Then after starting fxdreema again I imported the XML file, which was created by the old build actually.
      After this I cannot compile this version anymore. Its always the same error

      Screenshot 1
      http://prntscr.com/1nh2yd

      Screenshot 2 shows information in a block. That block actually should contain information to compare a boolean value to true but does actually contain something very different
      http://prntscr.com/1nh3f2

      So it seems the blocks are corrupted 😞

      Is this due to my import of the old XML after the update?

      posted in Questions & Answers
      E
      ezzakt
    • RE: Find out Candle ID of drawn rectangles

      amazing, sound exactly as what I need 😉

      Will go ahead and try it this morning

      posted in Questions & Answers
      E
      ezzakt
    • RE: Find out Candle ID of drawn rectangles

      great

      posted in Questions & Answers
      E
      ezzakt
    • RE: Find out Candle ID of drawn rectangles

      Hello,

      I have an indicator drawing rectangles on the chart.

      Now, lets say we have 8 rectangles on the Chart. I have Object names for all of them.
      Information on the rectangle is Price Level 1 and Price Level 2.

      Now, Rectangles are always drawn around lets say a specific High of a Candle or a specific low.
      So Price Level 1 of an object (called by object name) will always be equal to a candle high, or a candle low.

      So lets take a specific candle high somewhere in the past. This is a point where a rectangle was drawn from some candle high to some candle low.
      How can I find out the Candle ID of the Candle High that was used to create that rectangle? So all I know is that candle high equals price level 1 of the rectangle. And I have the object name of this rectangle.

      Would need to put that Candle ID in a variable. Thanks

      ezzakt

      posted in Questions & Answers
      E
      ezzakt
    • RE: Print Message, Current Symbol

      Thx for the examples provided
      Will play around with them

      For your information, using "+Symbol()+" as text as in the example from you worked now.
      So had to remove 1x the "" to have it compile and it alerts me visual in MT4.

      Great, cheers

      posted in Questions & Answers
      E
      ezzakt
    • RE: Print Message, Current Symbol

      jepp, copied and pasted out of your example and double checked I do it the same as you did, still that error appeared
      Note sure what it will do with just "" for one time !?

      posted in Questions & Answers
      E
      ezzakt
    • RE: Print Message, Current Symbol

      It seems "+Symbol()+" is accepted

      Trying this one when markets are online

      posted in Questions & Answers
      E
      ezzakt
    • RE: Print Message, Current Symbol

      It seems it leads to an error compiling

      I have it in 2 blocks, so its 2xtimes the error message

      ......
      error.png

      posted in Questions & Answers
      E
      ezzakt
    • RE: Print Message, Current Symbol

      Great thanks, that helps me out for now 😉

      posted in Questions & Answers
      E
      ezzakt
    • RE: Print Message, Current Symbol

      Hello,

      short question for the Alert Message block (Which I assume is an Alarm Message popping up)

      I want to have an EA run on many charts and pop up an alarm if a condition is reached. How can I include the symbol name in the Alarm message so if an alarm pops up I can see a text specified with the Symbol name after.

      Cheers

      posted in Questions & Answers
      E
      ezzakt
    • RE: Code Performance / Backtesting

      ok so I will adapt my EA completely and check the outcome of it

      Let you know if it resulted in some breakthrough increase of the performance 😉

      posted in Questions & Answers
      E
      ezzakt
    • RE: Code Performance / Backtesting

      thanks, that answers my questions. I might look at my AND blocks, which I have a ton of ^^

      Might be an issue then. Is it possible you point me in some direction regarding the array and map of connections so I could better understand ? A link to some mql4 site would be enoug to look into it. Not sure what you exactly mean. Because actually, not sure how to do my functions without AND.

      I use both true and false outputs connected over many condition blocks with ANDs to cover all possible scenarios.

      I could use Turn OFF/ON or Toggle block instead. Or I could modify variables with 0 or 1 if condition true / false (doing that seems to be even more slow), or I could set condition blocks in a row, like the one being less active at top, rest below. I mean its same result in row or with AND block.

      Just set parallel or in a row. And I assume in a row, as it fails to get to the end of the row more often, it should be faster. Will try this.

      And maybe MT4 and Strategy Tester is an issue aswell, as it seem even slower than Excel calculating 😉

      Cheers

      posted in Questions & Answers
      E
      ezzakt
    • RE: Code Performance / Backtesting

      Hello,

      I have 2 EAs that have about 200+ Blocks each. Its 1 indicator used in the EA and I remember at early backtests the EA was running at a good speed.
      Now, there are a lot of condition blocks, connected in a row or parallel with AND/OR connectors, lots of formulas and a bunch of variables and constants used.

      So I wonder if there is a good "style" of cnnecting condition blocks or some rules in general that affect performance.

      Like...is it better to create solutions with conditions block set parallel and connected with AND to summarize the result of all conditions, or is it better to put them in a row one after another ? Well maybe that doesnt make any difference at all. Thanks to the flexibility of fxdreema, its easy to achieve things on very different ways.

      But whats best practice ?

      I saw it does not even make that huge difference if I let it run on every M15 Bar for example instead of running it every tick!? Using timer event with increased time settings did also not result in faster testing.

      Cheers

      posted in Questions & Answers
      E
      ezzakt
    • RE: In formula block, "ResultNNN" becomes undefined variable

      I still have this issue in many projects. Newest local version installed.

      I create the results by default now as a variable as it is undefined when doing calculations with the formula block.
      If creating that variable, it has the correct results in it though. So its working fine, but you have to create it by hand.

      Would be great if that could be fixed in a future version.

      Cheers
      Andy

      posted in Bug Reports
      E
      ezzakt
    • RE: Question to Formula Results and digits output

      Not really aware but the information you posted should be enough to get it done.

      Thanks as always, cheers

      posted in Questions & Answers
      E
      ezzakt
    • RE: Question to Formula Results and digits output

      Hi there,

      at the moment I am working on an EA where I do many formulas, like Object_1 Price Level 1 - Object2_ Price level 2 or whatever....

      The result in the Formula is a digit number. So like 0.0015
      Now its all working fine and I normally take this number and multiply it with 1000 or 10000 or whatever needed to get the right pip count here. This solution is not really good as if I multiply it to work with EUR/USD 5 Digit, this will not work on a yen pair on the same broker.

      So until now I helped myself by printing values on the cart for each pair to define them in the settings if necessary.

      For sure, you know a better way for me to do this, right ? 😉
      So it will adapt itself to all pairs. Not sure how to involve the point format here....

      Thanks
      Andy

      posted in Questions & Answers
      E
      ezzakt
    • RE: Objects filtering on property / via loop

      great, I figured it out 😉

      Just saw I can do that with the objects loop

      posted in Questions & Answers
      E
      ezzakt
    • RE: Objects filtering on property / via loop

      Hello there,

      I am testing on a support & resistance indicator at the moment. This one is drawing objects for several S&R zones.
      It is no problem for me filtering those zones by object names.

      But, the indicator always applies name like e.g. Support_Zone_1 or Resistance_Zone_1 for the zone that is nearest to the price.
      So the indicator also draws zones with different strength. Those dont differentiate in the name, but only the color of the object (rectangle drawn).

      So I like to filter that only when the price/candle enters a strong Resistance or Support Zone, it should enter a trade.

      I tried to somehow filter by objects in loop, but I dont know how to define here the rule that if price or candle corsses above object with that color, enter a trade.

      Can you help me out ?

      Thanks

      posted in Questions & Answers
      E
      ezzakt
    • RE: Unable to login - Cookies settings

      Useful Thread, thank you

      Was just struggling with the login on Firefox 😉

      posted in Questions & Answers
      E
      ezzakt
    • RE: Close all trades on Friday before market close

      ok, well that will work but it gets really complicated when doing this...depending on if you export tick data with or without weekends...and so on

      So would appreciate a block that checks on "current day"
      That would be great

      Cheers

      posted in Questions & Answers
      E
      ezzakt
    • 1
    • 2
    • 3
    • 2 / 3