fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Sauce
    3. Posts
    • Profile
    • Following 0
    • Followers 1
    • Topics 5
    • Posts 107
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Sauce

    • RE: Custom indicator values

      @fxDreema @nejaukais89 @timmyhanke I'm struggling with this exact same problem at the moment. I'm not a coder, but I believe the problem is that the buffers don't store values so that there is an actual value to compare conditions. No value means that the EA sees it as Empty_Value if I'm not mistaken?

      Can anyone edit this indicator so that it stores values (maybe global variables?) for TMA so that we can use this indicator for conditions (i.e. indicator = >0 or empty_value)?

      Indicator's source code: 0_1639265690330_TMA+CG mladen NRP.mq4
      Shared Project: https://fxdreema.com/shared/GrLLouw7c

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Heikin Ashi as a Line Color change, custom indicator condition

      @bk7 thanks! i believe thats what i need but i've never done this before.

      can you show me this as an example that i can use for future reference when making other custom indicators?
      it would really help then to avoid future posts then by having this reference example to look at how you did it then, if you dont mind! thank you!!

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Heikin Ashi as a Line Color change, custom indicator condition

      @FXDREEMA any idea why this custom indicator's buffers are not recognized? @l-andorrà confirmed the logic is correct, but not sure why EA is not seeing the custom indicator.

      Here is an updated project with a different custom indicator called SlopeDirection(MTFD)I
      Not sure what is wrong with the output of values? My blocks should be correct logic.

      Mq4 file: 1_1639024092762_SlopeDirection(MTFD)I.mq4
      Ex4 file: 0_1639024092762_SlopeDirection(MTFD)I.ex4
      Shared project: https://fxdreema.com/shared/Oeqm4kRhd

      If I run the EA, it should be drawing arrows but it's not reading the line values for some reason?

      0_1639024520329_a4df5bb7-b308-44ae-a0e3-c3cd66fecd05-image.png

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Heikin Ashi as a Line Color change, custom indicator condition

      @l-andorrà So here's something... I've tried testing single blocks with a simple draw arrow if it passes. I realized then that the custom indicator that I've uploaded correctly (as in other posts) is not recognized by the EA. It's almost like the buffers aren't assigned a value to get?

      For example, (see below) if slope direction line is yellow (or >0) = draw arrow. It won't work correctly because it doesn't recognize the line at all it seems (no arrows are drawn).

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Heikin Ashi as a Line Color change, custom indicator condition

      @l-andorrà thanks for trying!

      @biki could you help me with this? seems like an easy fix in the source code, but cant find it

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Heikin Ashi as a Line Color change, custom indicator condition

      @miro1360 you might be able to see the issue here I'm missing?

      @l-andorrà here's an updated shared project link with the visible condition instead but still not working: https://fxdreema.com/shared/P8l32aHZd

      Again, the simple goal here is for condition to pass if line is green or the other to pass if it is red. (whatever number or alert code that is)

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Heikin Ashi as a Line Color change, custom indicator condition

      @l-andorrà so I tried that before (and again just now) but does not work... here is a picture of the alert code so it must be something from that since I can havebit send an alert if a buy(green) or sell(red). can you see where it is finding the condition to send the alert?

      0_1638556600216_CC20D2D4-5152-4A54-8E7A-CA2E2BBB5FB9.jpeg

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Opening Range Breakout Strategy per candle

      @jstap thanks again! would you mind looking into one more post I made for a different strategy? https://fxdreema.com/forum/topic/13820/heikin-ashi-as-a-line-color-change-custom-indicator-condition/2

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Heikin Ashi as a Line Color change, custom indicator condition

      @miki hoping you can help me with this one! I still use the other custom indicator you helped me with awhile back 👍 thanks in advance for taking a look!

      Or @l-andorrà 😊 love the YouTube tutorials!

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Opening Range Breakout Strategy per candle

      @jstap thanks for your help! I found that making one of the pending orders into an OCO itself and getting rid of the other trading action worked

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Opening Range Breakout Strategy per candle

      @jstap understood, that was my original question. I’m having trouble finding the error since it worked before with displaying arrows.

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Opening Range Breakout Strategy per candle

      @jstap 0_1638458311295_8514B05D-4598-4043-A466-35466507E8AC.jpeg

      I’ve tried multiple instruments and get this error. I’ve used the simple draw arrow idea before and I did work, but when actually taking trades this happens.

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Opening Range Breakout Strategy per candle

      @jstap It’s coming back with a divide zero error, is there a better way to filter time condition? Not sure why I get a zero calculation error. Thanks for your help!

      posted in Questions & Answers
      Sauce
      Sauce
    • Opening Range Breakout Strategy per candle

      Hi,
      I've tried looking at previous forums with no success.

      Trying to create a basic Opening Range Breakout strategy on a single candle's range.

      For example: I want to trade an ORB on the 16:30 candle. I've tried to make it a pending buy order at break of the high and a pending sell order at the break of the low with an OCO trading condition that cancels the opposite order if one is activated. I would like to setup this strategy for multiple specific candles (16:30 candle is just one example of multiple candles I will use this on) which I believe I can do in the future by just adding more Time Filter conditions like my current example. Also, I keep getting a zero divide error, and I'm not sure that I've constructed this in the best possible way. Any help is great appreciated for this simple concept to work successfully, thank you!

      Shared project: https://fxdreema.com/shared/3WjG4q88e

      posted in Questions & Answers
      Sauce
      Sauce
    • Heikin Ashi as a Line Color change, custom indicator condition

      Hi,
      I have this Heikin Ashi line that changes color based on trend. The buffers 3 and 4 put out an output in the Data Window as "haBodyOpenDN" and "haBodyOpenUP" and one will show a value each candle resulting in a green or red indicator line.

      I tried previous forum advice on this topic with the empty_value idea and set a condition for example: Buffer 3 > 0. Since the colors are numbers as I read in previous forum posts.

      Simple goal: Line is red (or haBodyOpenDN = a value) = DRAW ORANGE ARROW
      Simple goal: Line is green (or haBodyOpenUP = a value) = DRAW LIME ARROW

      shared project: https://fxdreema.com/shared/RJK3mRk8
      screenshot of a chart:
      0_1638414370244_ca50592f-e3fa-46df-a904-1442b0992256-image.png
      Here are the custom indicator files:
      1_1638414516347_HeikenAshiCandlesI.ex4
      0_1638414516346_HeikenAshiCandles(MTFD)I Altered colors 1.mq4
      It seems that the mq4 file pulls data from the ex4 file, but I could be wrong. I feel like this is a simple condition to search for but I just don't know what I'm looking for in the condition, thank you for your help!!

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Stop Trading when the daily target or loss is achieved

      @bk7 how do I make sure the "turn off blocks" doesn't turn off the "once a day > turn ON blocks"

      Will this work? (disregard the weekday, time filters)
      Note: the otherwise off of max daily drawdown condition begins the trading calculation/parameters with No trade/order0_1615233943311_f52b0265-3f43-4b2c-b1f5-26d9ad62644a-image.png

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Stop Trading when the daily target or loss is achieved

      @bk7 awesome, thank you for the quick answers! Greatly appreciated!
      @miki thank you for the screenshot!

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Stop Trading when the daily target or loss is achieved

      @bk7 @miki working on it a little more, makes more sense to just focus on max drawdown of 3% and if I'm ever 3% max drawdown for the day, I want to shut it down for the day. Close all positions and prevent new ones from opening. Miki suggestion would accomplish this right? (I feel like I'm overcomplicating it, so just want to be sure)

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Stop Trading when the daily target or loss is achieved

      @bk7 @miki my condition would be based on after a trades is closed and I'm now -3% for the day (if there are other current open trades, they are allowed to remain open). I just want to prevent any NEW trades opening for the rest of the day if I've lost 3% of my account for the day. Would that change the pattern, or would you mind reposting that pattern? Thank you!

      posted in Questions & Answers
      Sauce
      Sauce
    • RE: Stop Trading when the daily target or loss is achieved

      @l-andorrà @miki

      Looking to do something similar to this project mentioned, as a max daily loss parameter, but not sure if this project above will achieve it.
      If -3% or more of balance lost in a single day then no more trades may be initiated until the next calendar day. (a max daily loss condition)
      What I'm looking to do is if I lose 3% of my account in one day, I want to stop trading for that day and start again the next calendar day.

      Thanks for the help!

      posted in Questions & Answers
      Sauce
      Sauce
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 3 / 6