fxDreema

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

    Posts made by umbrellamaker

    • RE: Updating Variables dynamically when Price hits Horizontale

      The EA knows exactly at which price level it has to draw these horizontales in my case. That is no problem. The EA is doing that accurately.

      The issue is detecting the currently relevant horizontale.

      I figured out with conditions to make the EA drawing and deleting horizontales if a condition is met.

      Anyway, do you know an approach to store the current lowest horizontale in a variable?
      That variable should be updated when for example price closes above that horizontale. Than the next lowest horizontale will be stored in a variable and so on.

      The screenshot may explain it better (EA is working on ONE chart, tho):

      0_1606236165942_619da041-51dd-44ac-8d8e-a4690a8fde97-image.png

      posted in Questions & Answers
      umbrellamaker
      umbrellamaker
    • RE: Updating Variables dynamically when Price hits Horizontale

      0_1606160867986_6dcab100-db19-4f33-bccf-f9e30e998db6-image.png https://www.tradingview.com/x/ASIFsNSw/

      As you can see in this example, I used horizontales to mark the lower and upper bound of a zone. Because some trends can create several zones, I struggled figuring out how to make the EA recognizing the price levels at which it should act upon.

      posted in Questions & Answers
      umbrellamaker
      umbrellamaker
    • RE: Updating Variables dynamically when Price hits Horizontale

      @l-andorrà Thanks for your fast reply!

      These horizontales were the most intuitive solution for me.

      If there is a longer down/uptrend several "zones" can be created - one after another. I tried at first storing these price levels into variables, but I recognized I have no idea how to store these variables because I do not know how many will be created and how to make the EA chose

      1. the lowest value to sell (if it is a sell zone) OR
      2. the highest value to buy (if it is a buy zone).

      Maybe you got an idea how to save x-amounts of significant price levels and making the EA choosing the lowest OR highest.

      posted in Questions & Answers
      umbrellamaker
      umbrellamaker
    • Updating Variables dynamically when Price hits Horizontale

      Hey guys,

      I seek for your help!

      The EA creates horizontal lines which are zones (space between them). I want to store the price levels of the horizontales.

      The two variables of Zone 1 are the lowest price levels currently marked as horizontales on the charts.

      The horizontales are drawn by the EA dynamically (if certain conditions are met).

      • At first Zone 3 was created.

      • Than zone 2 occured as price developed.

      • Zone 1 was the last zone created by the EA.

      The EA deletes a zone if price closes above those.

      If a zone (Zone 1) gets deleted, the next two lowest horizontales are relevant (Zone 2).

      The price levels of valid zones (Zone 2 & 1) needs to be stored and the broken horizontales (Zone 1) are irrelevant and can be deleted.

      Dear Community, how can I build an EA which does that?
      I already tried and errored so many times , my fingers get bloody :`D

      My approach (Illustration):
      https://fxdreema.com/shared/0ffAvPyId

      0_1606426142133_081ce692-8afa-4914-9ab8-32faa95f0448-image.png

      I know it is a bit demanding of mine, but I appreciate the help of the community and of the Kings of FxDreema! @l-andorrà @miro1360 @roar @josecortesllobat @fxDreema @rafaels919 @trader.philipps @migen @GSMtricks @varso

      posted in Questions & Answers zones horizontales variables dynamically objects
      umbrellamaker
      umbrellamaker
    • 1
    • 2
    • 3
    • 3 / 3