fxDreema

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

    Posts made by Babago

    • RE: Arrays...

      Thanks Admin!
      i used a custom block to catch some global variables, order them and put in relation with the name of the pair it referring..
      then i would like to use blocks to check them and build different actions and different entries..
      for the moment i didn't find a workaround..

      i will try to follow your advice but i didn't understand well what do you mean to "create function" and call them...
      Can you build me a very very simple example of what you mean?
      i hope it will be helpful also for others..

      PS. every day i use FxDreema i think is really an amazing software! Thanks again to have created it!

      posted in Questions & Answers
      B
      Babago
    • RE: Arrays...

      Thank you Miro1360!
      i'm using this software since two years and more and this is the only feature i feel missing..
      Hope admin will add it soon 😉

      Thanks again!
      Dave

      posted in Questions & Answers
      B
      Babago
    • RE: Arrays...

      Hi FxDreema,
      i'm using some "Custom MQL4 block" working with some arrays that i declared inside the block.
      how can i read these arrays in another "Custom MQL4 Code" blocks?

      Is there a way to globally declare an array?
      I tried to declare in the "on Init" panel but doesn't work
      and arrays can't be declared in the "Variables" input form...

      Can you help me?

      posted in Questions & Answers
      B
      Babago
    • RE: Psar wrong value?!?

      1- Every time it happened the difference with the correct value was big
      2- Yes i can add the block to take screenshots but i didn't think it can be useful because Psar is not a repainting indicator... but i can add it!
      3- Now are 2 days it doesn't happen.. i think it happens on an average of 48hr. But sometimes less than 12
      4- I use "Set current market" because i use to check with one EA all my running trades. I can't leave open a chart for each pair...

      posted in Bug Reports
      B
      Babago
    • RE: Psar wrong value?!?

      Hi FxDreema,
      i'm using your masterpiece of software since more than 2.5 years now with a lot of satisfaction..
      But now i'm facing a problem that i didn't resolve in more than two months..
      So here i am asking your help..

      I have this EA that check in all my running trades if PSAR value is higher or lower than price and then alert me and do stuff...

      https://fxdreema.com/shared/iu7ohSHmb

      Here the problem: once every a while, about once or two a day (i can't replicate the problem), the EA trigger because it reads a wrong value of PSAR.
      Here a picture of a notification with the values of EA's variables it just worked on,
      where Psar is lower than price but that isn't the correct Psar value!

      https://s31.postimg.org/bxpwi4dez/Copia_di_IMG_7106.jpg

      https://s32.postimg.org/y9jzcyt3p/Copia_di_IMG_7107.jpg

      If i immediately reset the take profit to allow the EA to check again that trade, it doesn't trigger anymore..
      it seems it reads a wrong value of Psar just for a second, but the second after reads the correct value...

      Here some of the steps i tried to avoid this problem..

      1. i've cheked it not depends on spread (and for this reason i made the condition block with bid price..)... but didn't resolve

      2. I used delay block imagine that too many calculations and switch between markets can create problems in reading indicator data..... (in past i had some strange behaviour when using "Set "Current Market" for next blocks" in loop to check all trades and i resolved with the daly block set to 5 seconds) ... i set it on 1 sec but didn't resolve, i cant set it on 5 sec beacause it would be too slow..

      3. i used candle id 1 to avoid repaintings... but didn't resolve

      4. i first store values of Psar and Price in variable and then compare them with the "condition" block... but didn't resolve

      5. i tried it in backtest with "trace" block to check if were problems... but didn't find any problem..

      6. Probably most important, i first start using built-in PSAR indicator and then switch to parabolic.mq4 also of Metaquotes.. ... but didn't resolve with both of them..

      Can you put me in the right direction to resolve this problem? i'm givin up..
      Thank you very much!

      posted in Bug Reports
      B
      Babago
    • RE: Bucket of trades bug

      Thank you!
      I tried and now trades are added to the list when created...
      but still not erased when a trade is closed.
      Moreover the profit is not updated with current trades but it appears to remain in the memory the profit of closed trade.

      Probably I did not understand the way you want to use this new feature.

      The only thing I can tell you is that without this feature i don't think there is in your software a way to view the total profit of a certain group of trades.

      the only two functions that come close are:
      Check current unrealized profit -> but here the total profit of the group can not be obtained but only compared with another value
      Trailing money loss (group of trades) --> here is the same and we can operate a trailing stop (great function by the way!)

      But i can use "for each trade" and formulas to calculate current profit and count trades even if is a bit redundant..
      so probably you can leave as it is now..
      so that one can have a historical view of his basket regardless of its current profit....

      posted in Bug Reports
      B
      Babago
    • RE: Bucket of trades bug

      Hi FxDreema,
      the "Bucket of trades" update is really great, thanks for implement it!
      I know, is still in beta version but, probably you already know, the bucket is not updated when some positions are closed or opened..
      In my case, for example, as you can see in the pictures, I had a bucket of 6 positions but when 3 of them were closed bucket was still of 6 and also total profit had reported a strange result.
      Also when trying to open an additional trade, this was not updated in the bucket (still report 6 trade and strange profit)..
      it seems that once the bucket has been created that is not updated...

      In some bucket where any trade was opened or close after the creation of the bucket, after a while, the profit (Sum), it's not anymore correct..

      If i stop and re-attach the EA, the bucket return correct..

      Thanks
      Dave

      ......
      Schermata 2015-11-05 alle 00.45.53.png

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Thats sounds really good!
      you are my hero FxDreema!
      When i will be millioner i'll make you a big gift! 😆

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Ohh ok..
      now i can sleep.... 😄
      Thanks man!!

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Sorry but now i can't open anymore 2 out of 3 my projects...
      either import them from my mq4 backups..
      https://fxdreema.com/shared/23KxGnT

      It stuck on "loading"...
      i can just create a new project or open just the 3° of my projects (an old one)... 😮

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      No blocks.. it is in the output mq4 code after compiling..

      under the DrawSpreadInfo() function..
      There is no more the check for CustomPoint(Symbol()) = 0

      like this you add last time

      double custom_point = CustomPoint(Symbol());
         double current_spread = 0;
         if (custom_point > 0)
      
      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      __But CustomPoint() is used all around the EA in one way or another 😮 I did some fixes in DrawSpreadInfo, sopefully it will work now.[/quote:1au9gtz6]

      Hi FxDreema
      i have again a zero divide error when compiling projects with (web version) here in the DrawSpreadInfo..

      In July you resolved by adding these lines

      double custom_point = CustomPoint(Symbol());
         double current_spread = 0;
         if (custom_point > 0) {
            current_spread = (SymbolInfoDouble(Symbol(),SYMBOL_ASK)-SymbolInfoDouble(Symbol(),SYMBOL_BID))/custom_point;
         }
      
      

      but now (probably due to some updates to fxdreema?) in the mq4 i just found

       current_spread = (SymbolInfoDouble(Symbol(),SYMBOL_ASK)-SymbolInfoDouble(Symbol(),SYMBOL_BID))/custom_point;
      

      Can you check plese?

      Thank you!

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      WOW!
      Thanks again! 😄 😄

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Update: i have 5 trade open right now, but it count just 1 trade, probably because i've just open it while the EA is running..
      Probably it counts just trade opened while it is running?

      Update: Now i opened 2 more trades and it count a total of 3. Is continuing to ignoring the fisrt 4 trades..

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Thanks FxDreema! Now no more zero divide error due the SpreadInfo function.

      Today i tried again my EA and discovered that is still a problem with "Trade Count" in Trade Statistic.
      It count zero trades but i have 5 open now.
      It happen both on a live chart and offline chart..

      https://fxdreema.com/shared/VXuYa1XXc

      Can you check please?
      Dave

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Yes i notice.. Thanks!
      i move the project on web version and no more warnings!
      For the moment i tried the EA on Strategy Tester and everything works.
      But i'm going to use it on an offline chart and now market is close so no ticks to test it out..
      i will let you know! Finger crossed...

      __Well, I don't know what you mean by "it stops"[/quote:258xi683]
      i add the ID number of the block in each STATUS field in each block, to understand what happens..
      And looking at STATUS on chart it doesn't go over the first block..
      But the EA "is working" because "on chart" functions like click on buttons works fine....

      PS.:
      as i said i'm using it on an offline chart and to make it works i need to manually deactivate the DrawSpreadInfo

      void DrawSpreadInfo()
      {
         static bool allow_draw = true;
      

      and change it to

      void DrawSpreadInfo()
      {
         static bool allow_draw = false;
      

      because of zero divide here

       double current_spread = (SymbolInfoDouble(Symbol(),SYMBOL_ASK)-SymbolInfoDouble(Symbol(),SYMBOL_BID))/(CustomPoint(Symbol()));
      

      probably becouse the chart haven't set the CustomPoint.

      I don't know how to edit the chart properties.
      Can you please tell me how to do it or can you add an option to disable the DrawSpreadInfo?

      Thanks
      Dave

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Hi,
      when i use "Trade Statistics" on mode "trade count" i have this warnings..
      but sometimes EA works ok, sometimes it stops at first block without have any error reported in Journal..
      i really can't understand why this different behavior..
      now my EA stops and i cant make it go in anyway... 😕

      Is there a turn around?

      Thanks!

      ......
      Schermata 2015-07-10 alle 19.36.48.png
      Schermata 2015-07-10 alle 19.36.48.png

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Ok, i reinstalled a new version of fxdreema in a new location and copy the new mql.exe to replace the old one but the error was still there.
      So i replaceed all files except my user folder and now works..

      Thank you!!

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      PS.
      the exported mq4 files doesn't have problems.
      I tried to open in metaeditor and it compile it without problems..

      posted in Bug Reports
      B
      Babago
    • RE: Compiling error......

      Hi,
      Fxdreema starts to give me an error on compiling on ALL my projects, even empty ones..
      i tried to close and lunch again.. an also to reinstall it but still the same problem.. ❓ ❓ ❓ 😮

      Dave

      ......
      Schermata 2015-06-29 alle 22.04.48.png

      posted in Bug Reports
      B
      Babago
    • 1
    • 2
    • 3
    • 2 / 3