fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. DarK
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    DarK

    @DarK

    0
    Reputation
    359
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    DarK Unfollow Follow

    Latest posts made by DarK

    • RE: manage manual trade per chart

      __I wrote this funny text here, hopefully you will get it: https://fxdreema.com/documentation/gett ... c%20number
      This is again about magic number, but when you use it in fxDreema: https://fxdreema.com/documentation/proj ... d%20groups

      In short, you can use Magic Number to make trades and orders to appear as they belong to different groups, but the chart itself is not important. You can actually create GBPUSD trades from EA running in EURUSD chart, for example. The magic number is what allows you to group them, when their symbol name and type (buy, sell) is not enough.

      About your EA - block 7 and block 8 are not used correctly. I wrote about this 100s of times here and there, so I'm just tired to do it again. Read this if you want: https://fxdreema.com/demo/mt4-loop-how-it-works

      Blocks 9, 1, 3 and 5 are filters. You also have the same filters in 11, 2, 4 and 8, so 9, 1, 3 and 5 are not needed for the work of 11, 2, 4 and 8.[/quote:p9pmq9qk]

      Ok, thnx. Will optimize EA on you suggestion.

      But i kind of still think that you did not understood me regarding charts. On your first link there is: "Manual trades and orders have Magic Number = 0."

      I have two scenarios on the same MT4, same pair eurusd, but one manual trade.

      Scenario 1:

      I use autoclick news software. There is news with low impact, software clicks eurusd buy on first chart, block "if trade is running" sees manual trade is running and adds sl 10, tp 20.

      Scenario 2:

      There is news with high impact, software clicks eurusd buy on second chart (not first chart) at this point i want that ea ads different sl 20, tp 50.

      My idea was to distinguish this two different trades (high and low impact) with two ea's that have different settings because i don't know what kind of news will come out. One on every chart waiting for manual trade on that chart.

      posted in Questions & Answers
      D
      DarK
    • RE: manage manual trade per chart

      __I'm not sure what are you trying to do, but I guess the answer is yes 😕[/quote:25shdx1u]

      Ok, it is like this. I'v created trade manager in fxdreema. If i click buy eurusd with one click trading, trade manager is adding sl 10, tp 20, trail, be to the trade.

      I'v have second chart eurusd in the sam mt4 with one click trading. If i click buy on this chart i want different settings like sl 20, tp 40, to the trade from this chart.

      Link of the EA https://fxdreema.com/shared/8iloQfi6

      Problem is that second trade is modified by the first ea (sometimes second) because it is the same market eurusd.

      Is it possible to moddify manual trade only on chart that trade is created, not all manual trades on eurusd?

      thnx

      posted in Questions & Answers
      D
      DarK
    • RE: manage manual trade per chart

      Hi

      Is it possible to manage manual trade per chart, not market?

      I am using one click trading on two charts of the same pair but i i want manage trade trailing and stoploss independently.

      thnx

      posted in Questions & Answers
      D
      DarK
    • RE: ea not working

      __As I said this color has nothing to do with the EA internally. When MT4/MT5 is starting it automatically deletes any EA with wrong format (corrupted files), so if you are seeing it there, it should work.

      Well, yesterday I was doing some updates and there was a period where experts were exported in "corrupted" format but not deleted by MT4. MT5 was actually able to handle this, but MT4 was not. So if your EA is 1-2 days old... this can be the case. But if it can be loaded and saying "Starting..." then it's fine. And if it is corrupted, then look at the logs and you will see an error message.

      Otherwise about the gray color, if you don't believe me look here: http://forum.mql4.com/54308 The color is gray when .mq4 is not there, only .ex4, and it does not tell anything about the quality of the EA itself.[/quote:20gj10rl]

      I'v try it on different computer using web fxdreema. On there is older metaeditor and when i hit compile it gives me this error on every new ea:

      'long' - variable not defined C:\Documents and Settings\DarK Pariah\Desktop\testtt.mq4 (754, 1)
      'inp' - comma or semicolon expected C:\Documents and Settings\DarK Pariah\Desktop\testtt.mq4 (754, 45)
      'long' - unexpected token C:\Documents and Settings\DarK Pariah\Desktop\testtt.mq4 (754, 61)

      This one is simple http://fxdreema.com/shared/9un4k9DWd

      posted in Questions & Answers
      D
      DarK
    • RE: ea not working

      __What do you mean by "gray"?[/quote:35xytv4r]

      I see ea on metatrader but cant get it to open. It is not in color, like something is wrong with the code.

      Other ea work, even the ones that i created with fxdreema. But new created ea's dont work.

      I will try it tommorow on other computer.

      posted in Questions & Answers
      D
      DarK
    • RE: ea not working

      __I noticed that you are using "For each Closed trade" block. Be aware that in real mode you may have many many closed trades, all in the history, and this block will do them all most probably. Maybe I have to add some time limit option (to stop the cycle when the trade's close time is too old), but you can also limit them by number, look at the "Not more than n history trades" option. Also that block "(loop) break" can be used.[/quote:305ppvqu]

      Still grayed out. At this point is working http://fxdreema.com/shared/1n7dJkhWd

      But when i add additional variables and constants it gets greyed out in metaeditor (everything ok when compile). http://fxdreema.com/shared/1n7dJkhWd

      I will try build it from scratch.

      posted in Questions & Answers
      D
      DarK
    • RE: ea not working

      Hi,

      There is no compilation error but in Metatrader ea is grayed out. Can't figure out what is wrong. Can you please look at it.

      http://fxdreema.com/shared/lbN48eE2

      thnx

      posted in Questions & Answers
      D
      DarK
    • RE: Resize option and modify variable

      Hi,

      I have tried resize option of the block and now i can't go back to original size in web fxdreema. Only new block dont get smaller.

      Also, something is wrong with modify variable block.

      posted in Bug Reports
      D
      DarK
    • RE: Compilation error on web fxdreema

      Hi,

      Constantly getting l0ca1_ in front every gridstart

      //-- open price -------------------------------------------------------------
      double op=0;
           if (l0ca1_GridStart=="ask") {op=SymbolAsk();}
      else if (l0ca1_GridStart=="bid") {op=SymbolBid();}
      else if (l0ca1_GridStart=="mid") {op=(SymbolAsk()+SymbolBid())/2;}
      else if (l0ca1_GridStart=="function") {op=_value(0);}
      op=op-toDigits(l0ca1_GridStartOffset);
      

      This is only happening if i put Variables instead of original values.

      BR

      posted in Bug Reports
      D
      DarK
    • RE: Break Even

      Hi!

      I am trying to do break even but i can't manage to get it to work. Sometimes it passes once but it won't on next order or it wont break even at all.

      Can you please check if this is ok? It is just break even part of EA.

      http://fxdreema.com/shared/QWRW3RYKb

      Thnx!

      posted in Questions & Answers
      D
      DarK