fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Xander
    3. Topics
    X
    • Profile
    • Following 0
    • Followers 0
    • Topics 30
    • Posts 80
    • Best 3
    • Controversial 0
    • Groups 0

    Topics created by Xander

    • X

      How to draw an object on another active chart
      Questions & Answers • • Xander

      4
      0
      Votes
      4
      Posts
      230
      Views

      SATI Autotrading Institute

      i Think i find a way, just where you want to draw the arrows like for example in GBPUSD, just activate the EA in GBPUSD for deploy the arrows, but make the patron recognition using the symbol filter in the other pair.

      It is clearly?

    • X

      Line showing price for other currency pairs
      Questions & Answers • • Xander

      6
      0
      Votes
      6
      Posts
      327
      Views

      X

      Yeah same was have tried looping it with candle IDs etc and can't get it to work

    • X

      Referencing other charts
      Questions & Answers • • Xander

      5
      0
      Votes
      5
      Posts
      643
      Views

      T

      Did you ever find an answer to this as I am having the same problem?

    • X

      Drawing lines at all 00, 20, 50 and 80 levels below bid
      Questions & Answers • • Xander

      4
      0
      Votes
      4
      Posts
      525
      Views

      roar

      @xander this seems to work
      https://fxdreema.com/shared/PchvP81Lc

    • X

      Bug in time value block?
      Questions & Answers • • Xander

      5
      0
      Votes
      5
      Posts
      583
      Views

      l'andorrà

      @xander Correct. And the default value should be 00:00 instead of just 0.

    • X

      Condition " if current market = EURUSD"
      Questions & Answers • • Xander

      4
      0
      Votes
      4
      Posts
      549
      Views

      l'andorrà

      @xander That means your broker is maybe calling that symbol in a different way. Before using that condition block just try to use your configuration in teh uimage you uploaded to stor that info into a variable. The visualize the variable through a 'Comment' block to check it out.

    • X

      Bug - All conditions reset to MA?
      Questions & Answers • • Xander

      9
      0
      Votes
      9
      Posts
      990
      Views

      R

      I email to admin hope he will have a look

    • X

      Help with reducing variable to 1 and stopping loop
      Questions & Answers • • Xander

      13
      0
      Votes
      13
      Posts
      1470
      Views

      l'andorrà

      @xander In that case I'm agraid I cannot offer any additional suggestion. I simply don't undertand this project. Honestly I have no idea how the 'run block' block works so maybe that is my problem. I gess you are looking for a loop to find those hughs and lows. I strongly recommend you ask for roar's help. He's ours loops expert! 🙂

    • X

      Possible reasons for differences in visual mode?
      Questions & Answers • • Xander

      5
      0
      Votes
      5
      Posts
      1044
      Views

      Spuzy

      I had a similar problem, to me it was because I used values of candle close for some calculations, where if you just add the indicator to the chart it will already have those close values, where if they are run live, it will calculate on every tick meaning candle close will at some point in time be every value it ever was during that tick. meaning it cna trigger a condition for 5 seconds because it reached a high value and then drop. meaning it wouldn't be true if calculated on history data, but it was true at some point during candle life.

      to fix this just use previous bar for calculation. so the value cannot be changed

    • X

      Need help with constants
      Questions & Answers • • Xander

      2
      0
      Votes
      2
      Posts
      539
      Views

      J

      int -> integers like 0, 1, 2, 3, ...
      double -> floating-point numbers like 0.01, 0.02, 0.03

      Change "Constant Type" to double and check it out.

      0_1555169879022_2226a5be-3b56-45a4-b66c-6df09c4b1c9b-image.png

    • X

      Move stop loss to last take profit
      Questions & Answers • • Xander

      3
      0
      Votes
      3
      Posts
      890
      Views

      W

      After modifying the stop loss of the second trade, calculate the distance between the new stop loss and the entry price. If that distance is less than or equal to -10 pips (i.e., SL is more than 10 pips away in loss), close the second trade.

      You can use "For Each Trade" block with Skip every "n" trade = 1 — this will select the second trade.

      Then, use "Pips away from Stop Loss" or "Pips away from Open Price" to calculate how far the stop loss is from the entry.
      If the pips from SL > first target (e.g., 10 pips), use a "Close Trade" block to close the second trade automatically.

    • X

      Check age based on candles
      Questions & Answers • • Xander

      2
      0
      Votes
      2
      Posts
      1105
      Views

      J

      The easiest way is to define a variable that increases by 1 when a new candle opens if there is a trade running.

      int BarCounter = 0

      Once per bar - If trade -> BarCounter = BarCounter+1

      You have to reset that variable when there is no trade. My suggestion is to reset it when a new trade opens.

      This is just an example

      0_1553928120909_09a7492d-b945-40c4-b90b-59fa66c20cb5-image.png

      0_1553928394714_092a7b9b-da16-444e-a438-72d2e1566460-image.png

    • X

      Update formula for spread
      Questions & Answers • • Xander

      1
      0
      Votes
      1
      Posts
      438
      Views

      No one has replied

    • X

      Switching between EAs and timeframes
      Questions & Answers • • Xander

      8
      1
      Votes
      8
      Posts
      2842
      Views

      fxDreema

      I decided to test this block and I think it works. Here is my test EA: https://fxdreema.com/shared/AN7K8OQhd
      I selected 3 different timeframes - M1, M15 and H4, and for each of them I print some information. This Delay block is to pause the EA for a while so I can see what is printer. But it looks that I need to move the chart left-right to refresh the Comment data. I see different numbers for each timeframe.

    • X

      Ignore sunday data
      Questions & Answers • • Xander

      3
      0
      Votes
      3
      Posts
      716
      Views

      M

      Six years later this is very helpful fpr me. Thank you very much @roar !

    • X

      Multiple time frame objects
      Questions & Answers • • Xander

      3
      0
      Votes
      3
      Posts
      1295
      Views

      fxDreema

      Well, objects are global, I don't think that the timeframe matters for them. Maybe objects can be filtered by timeframe as well, I never tried that. You want that, to access objects on certain timeframe?

    • X

      MA of accelerator oscillator
      Questions & Answers • • Xander

      5
      0
      Votes
      5
      Posts
      1428
      Views

      fxDreema

      This function? https://www.mql5.com/en/docs/math/mathsqrt

    • X

      "run as administrator error"
      Questions & Answers • • Xander

      5
      0
      Votes
      5
      Posts
      1088
      Views

      X

      Thank you for the response and sorry I forgot to update this one, the project name had ":" in its name, which is fine for dreema but for some reason does not allow the EA to be created as soon as I copied the project and changed the name everything was working

    • X

      Updating loop criteria as the loop happens
      Questions & Answers • • Xander

      5
      0
      Votes
      5
      Posts
      2085
      Views

      fxDreema

      Do you reset Candle ID to 0 before the loop starts?

    • X

      Apply MA to volume
      Questions & Answers • • Xander

      2
      0
      Votes
      2
      Posts
      557
      Views

      X

      Nevermind, found an older post with a solution by Miro, linking it here just for my reference and if anybody else has a similiar problem https://fxdreema.com/forum/topic/6372/move-confirmed-with-breakout-above-moving-average-of-volume/3

    • 1
    • 2
    • 1 / 2