fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. jstap
    3. Posts
    • Profile
    • Following 2
    • Followers 222
    • Topics 37
    • Posts 9333
    • Best 1080
    • Controversial 23
    • Groups 0

    Posts made by jstap

    • RE: Need Help with Indicator Cross Over Signal

      @shutchin Your welcome.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Please help me with my expert advisor.

      @maop1994 Drawing a line at a specific price is easy, pass at top, orange draw line block with number inside, orange delete line block if your condition is met, condition buy/sell to place order, formula to add a point to price for condition to be met. Is your fraction always the same number or do you need a condition to choose? I will also say though on many markets 1 point (1/10th of a pip) isn't much room to work with, if you make a start then people will gladly help with any problems you have getting it working.

      posted in General Discussions
      jstap
      jstap
    • RE: Need Help with Indicator Cross Over Signal

      @shutchin you need 2 conditions 1 above set to for example candle 1/2/3 ( whatever number you think) below -150, 2 below candle 0 above -100, you can have x, or <>, depends on what fits your position best.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Buy a EUR pair when Conditions are met from three Pairs

      @mohamed80 When I get a minute I will go over your questions, for now though (Symbol()==SYMBOL);
      (OrderSymbol()==SYMBOL);
      both go into custom code, although I haven't tried I think the string in SYMBOL variable is what is used and probably OrderSymbol is what to use for placing an order.

      posted in General Discussions
      jstap
      jstap
    • RE: What am I missing with ENUM variables for MT5?

      @l-andorrà Have tested the code idea again, unfortunately this seems to have the same MA regardless of number put on input, looks like the only option you have is enum going through all. I do find sometimes code that worked on MT4 doesn't do the same on MT5.

      posted in Questions & Answers
      jstap
      jstap
    • RE: PARTIAL CLOSE

      @kestra You would need to unless the names are different, then you could put it all in the same EA.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Help with MQL block and variables please

      @alphaomega Ill reply for tipsy, although the names used shouldn't make a difference, they quite often will and you will get undesirable results, this can also happen if you name a comment the same as a variable/constant, normally takes quite a few before this happens, so getting an unexpected result is not what you would expect.

      posted in Questions & Answers
      jstap
      jstap
    • RE: What am I missing with ENUM variables for MT5?

      @l-andorrà Just change ENUM_MA_METHOD variable to a string variable have tested and works: link

      posted in Questions & Answers
      jstap
      jstap
    • RE: expert ADX

      @flockogola In this link you will see how I create a loop to count how many candles have passed from the cross, this way I add another condition to entre a trade. Hope this helps.

      posted in Questions & Answers
      jstap
      jstap
    • RE: how to move the orders

      @siyanda If you make a start, put it in a shared link then giving advice is a lot easier, I will say though, off the top of my head, you could slide the order and place a new on top, you could delete the pending place a new in double the size, quite possibly slide then add to size. What suites your particular plan is what will decide this, if at the same time as replacing a condition is true to delete then you probably want to delete>condition>replace/or not.

      posted in Questions & Answers
      jstap
      jstap
    • RE: What am I missing with ENUM variables for MT5?

      @l-andorrà I am not a coder, all self tort but I see where I went wrong though:

      if((Ma_Method = 1) {Value = "MODE_SMA"};
      if((Ma_Method = 2) {Value = "MODE_SMMA"};
      if((Ma_Method = 3) {Value = "MODE_EMA"};
      if((Ma_Method = 4) {Value = "MODE_LWMA"};
      I put the semi colon the wrong side : )

      You can also make the = == some code needs this, not sure what the deference is and don't think you will need.

      Add the code like this:

      0_1628246327605_Screenshot (528).png

      Step by 1, start at 1 end at 2, if they are the MA's you want to test.

      posted in Questions & Answers
      jstap
      jstap
    • RE: how to move the orders

      @siyanda Not sure what exactly your asking but, the pink for each order block with a pink slide order block underneath, will move your order to wherever you like.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Counting of winning and losing positions.

      @ontradingx This will only tell you what has happened while EA is on chart, I am not very practiced with bucket of trades so I can't help about this.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Counting of winning and losing positions.

      @ladydolares Last closed

      posted in Questions & Answers
      jstap
      jstap
    • RE: Counting of winning and losing positions.

      @ontradingx To be honest I do not know if this is possible but, I use a what is in this picture:
      0_1628163289396_Screenshot (526).png
      Hope this helps

      posted in Questions & Answers
      jstap
      jstap
    • RE: What am I missing with ENUM variables for MT5?

      @l-andorrà Although this is a good question when time frames are selected using the enum method the EA can optimise all, I have never used the number method except for start/finish time but if you use this as custom code I think it would work:

      if((Ma_Method = 1) {Value = "MODE_SMA";}
      if((Ma_Method = 2) {Value = "MODE_SMMA";}
      if((Ma_Method = 3) {Value = "MODE_EMA";}
      if((Ma_Method = 4) {Value = "MODE_LWMA";}

      posted in Questions & Answers
      jstap
      jstap
    • RE: Trailing Stop to Breakeven

      @didymario7 Your welcome, I have it => just to make sure there is a small profit rather than a small loss, glad I could help.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Is there a way to reset Turn on / off blocks

      @saeed-2 Not that I know of.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Trailing Stop to Breakeven

      @didymario7 This is something I do regularly, in this link you can see how I do this.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Is there a way to reset Turn on / off blocks

      @saeed-2 Without seeing your project it's hard to say but, 1 off/on block can turn off/on many blocks by comma separating the id numbers.

      posted in Questions & Answers
      jstap
      jstap
    • 1
    • 2
    • 453
    • 454
    • 455
    • 456
    • 457
    • 466
    • 467
    • 455 / 467