fxDreema

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

    rsquared1

    @rsquared1

    0
    Reputation
    289
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Germany

    rsquared1 Unfollow Follow

    Latest posts made by rsquared1

    • Variables do not work correctly...

      Hello,
      I am currently trying to create a ea based on the tdi and heiken ashi indicators.
      I came across a problem which I can't fix for some reason.
      I created a workaround for an array to save values in variables.
      0_1630630948724_1.PNG
      1_1630630948725_2.PNG
      The variable ha_dir_trend_counter is reset before every run of the "array workaround"... (ha_dir_trend_counter = 0;)
      The ea then identifies long/short heiken ashi candles. Afterwards 1/-1 is saved in the variable ha_dir (ha_dir = -1; or ha_dir = 1;).
      Then I use the array workaround to move all variables one spot up in the array (e.g. ha_dir_bar_12 = ha_dir_bar_11; etc. and save the ha_dir value into ha_dir_bar_1)
      Afterwards I am checking the saved "array" for trend pattern but here the problem starts... The reset of the ha_dir_trend_counter doesnt work. It somehow always increments... here is some console output I generated to debug:
      2021.09.03 02:48:57.440 2020.01.02 05:00:00 TDI_Version_2 EURUSD,H1: Alert: 0.0
      2021.09.03 02:48:57.428 2020.01.02 04:00:00 TDI_Version_2 EURUSD,H1: Alert: 5.0
      2021.09.03 02:48:57.428 2020.01.02 04:00:00 TDI_Version_2 EURUSD,H1: Alert: 0.0
      2021.09.03 02:48:57.412 2020.01.02 03:00:00 TDI_Version_2 EURUSD,H1: Alert: 4.0
      2021.09.03 02:48:57.412 2020.01.02 03:00:00 TDI_Version_2 EURUSD,H1: Alert: 0.0
      2021.09.03 02:48:57.400 2020.01.02 02:00:00 TDI_Version_2 EURUSD,H1: Alert: 3.0
      2021.09.03 02:48:57.400 2020.01.02 02:00:00 TDI_Version_2 EURUSD,H1: Alert: 0.0
      2021.09.03 02:48:57.388 2020.01.02 01:00:00 TDI_Version_2 EURUSD,H1: Alert: 2.0
      2021.09.03 02:48:57.388 2020.01.02 01:00:00 TDI_Version_2 EURUSD,H1: Alert: 0.0
      2021.09.03 02:48:57.368 2020.01.02 00:00:00 TDI_Version_2 EURUSD,H1: Alert: 1.0
      2021.09.03 02:48:57.348 2020.01.02 00:00:00 TDI_Version_2 EURUSD,H1: Alert: 0.0

      Why does this happen?

      Thanks in advance... I'm sry for the confusing representation of the problem...

      posted in Questions & Answers
      rsquared1
      rsquared1
    • Moving Average is bugging?!

      Hello everyone,

      this is my current test project: https://fxdreema.com/shared/sJ4EfSNyb
      I tried to overwrite the values of variables ma5 and ma55 with returned moving average values respectively but it seems that the inbuilt moving average indicator is not working properly. Instead of saving the actual value, it keeps saving the value 0 into both variables. I tried to debug with no success.
      Debug statements are in blocks 36 and 37.

      0_1622383563240_questionmark.JPG

      Thanks in advance.

      Roland

      posted in Questions & Answers
      rsquared1
      rsquared1
    • RE: Baluda Super Slope v2.0 (Indicator) iCustom Error

      If I load it into an instance of MT4 it will work just fine but when I try to compile an ex4 in fxdreema using this indicator it won't work and returns the error mentioned in my post before.

      posted in Questions & Answers
      rsquared1
      rsquared1
    • Baluda Super Slope v2.0 (Indicator) iCustom Error

      Hello everyone,

      I am currently working on a trading system which includes the Baluda Super Slope v2.0 indicator. I've uploaded the indicator and used it in one of my projects but I keep getting the following error: "'iCustom' - wrong parameters count". Since I am not too familiar with mql4 I can't find the source of this error. Other versions didn't work aswell (e.g. V2.2).

      If you have any ideas on how to fix this issues please lmk.
      Thanks in advance
      Roland

      The indicator:
      0_1621691405168_Baluda.SuperSlope.v.2.0.mq4

      posted in Questions & Answers
      rsquared1
      rsquared1
    • Problem with saving indicator values into declared variables

      Hello everyone,

      today I used an indicator (vwap = volume weighted average price) from forex-station.com and ran into the following problem:

      When trying to save an output value from buffer 0 and 7 into respectively created variables it always saves the max. value for integers instead of the "correct" value.

      Indicator:
      0_1593356048813_Vwap bands + ma (mtf + alerts).mq4

      Settings:
      0_1593356063416_forum.JPG
      Indicator6_tf_used is equal to "H1"...

      If you have any idea how to fix this issue or a solution please feel free to answer.

      Best regards
      Roland

      posted in Questions & Answers variable indicator
      rsquared1
      rsquared1