fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. volkerhmb
    V
    • Profile
    • Following 0
    • Followers 1
    • Topics 6
    • Posts 8
    • Best 1
    • Controversial 0
    • Groups 0

    volkerhmb

    @volkerhmb

    1
    Reputation
    151
    Profile views
    8
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Location Hamburg/Berlin Age 61

    volkerhmb Unfollow Follow

    Best posts made by volkerhmb

    • RE: Width of the Trading Window in Pixel

      I found it by myself:

      Create 2 variables:
      int height 0
      int width 0

      And then a Custom MQL Block:
      height=ChartGetInteger(0,CHART_HEIGHT_IN_PIXELS,0)-1;
      width=ChartGetInteger(0,CHART_WIDTH_IN_PIXELS,0)-1;
      Print("Height: "+height+" Width: "+width);

      In MT4 and Windows 10 it needs a -1 to get the correct value. Others you have to test yourself.

      posted in Questions & Answers
      V
      volkerhmb

    Latest posts made by volkerhmb

    • RE: Width of the Trading Window in Pixel

      I found it by myself:

      Create 2 variables:
      int height 0
      int width 0

      And then a Custom MQL Block:
      height=ChartGetInteger(0,CHART_HEIGHT_IN_PIXELS,0)-1;
      width=ChartGetInteger(0,CHART_WIDTH_IN_PIXELS,0)-1;
      Print("Height: "+height+" Width: "+width);

      In MT4 and Windows 10 it needs a -1 to get the correct value. Others you have to test yourself.

      posted in Questions & Answers
      V
      volkerhmb
    • Width of the Trading Window in Pixel

      Hey!

      Is it possible to get the Width-Value of the Trading Window in Pixel? If yes, how?

      Thanks for the help!

      posted in Questions & Answers
      V
      volkerhmb
    • Heiken Ashi Data of the Candle Body

      Hello,

      the Heiken Ashi indicator is integrated in fxDreema. But I can only get the Open & Close and High & Low of the wick. Is it somehow possible to also get the data of the Heiken Ashi body? That body can be different from the current running real candle, so I can't use that data.

      On a Heiken Ashi Bull candle I need the Top of the Body of the current running candle (0).
      On a Heiken Ashi Bear candle I need the Low of the Body of the current running candle (0).

      If its possible, how?

      Thanks for your help!

      posted in Questions & Answers
      V
      volkerhmb
    • RE: Read the Stop Loss / Take Profit and put it into a Variable

      @cedietradermax

      Got it, thank you very much!

      posted in Questions & Answers
      V
      volkerhmb
    • Read the Stop Loss / Take Profit and put it into a Variable

      Hello,

      I have few trades already running with Stop Loss and Take Profits. Is it possible to read the SL and TP of that trades and put that value into a variable? It would be also fine if I could only read the first trades value. If yes, how can I do that?

      Thanks for the help!

      posted in Questions & Answers
      V
      volkerhmb
    • How can I round a number?

      Hi,

      often fxDreema shows crazy numbers (double variables) like

      0.07000000000000001

      instead of just 0.07.

      How can I round or cut numbers down to exactly 2 digits?

      I tried it with *100 and put that sum into an int variable. Than /100 and back to another double variable. But it shows than again 0.07000000000000001. Is there any way to do what I want?

      Thanks for the help!

      posted in Questions & Answers
      V
      volkerhmb
    • Double at Loss

      Hi there,

      I have a Buy or Sell with some conditions before. If I lose this Buy-Trade, the EA should double the next Buy. If I lose the Sell-Trade, the EA should double the next Sell.

      Whatever I try, it doesnt work and there is allways nothing in the Strategy-Tester. I think it will be something with the "Check consecutive losses" condition, but I dunno how.

      Couldnt find any examples here in the forum which fits my situation. Can somebody help me? Thanks!

      posted in Questions & Answers
      V
      volkerhmb
    • Draw and Delete a rectangle

      Hello,

      I want to do this:

      • Only when the last closed bar crosses above the MA 60 I will draw a green rectangle in the right corner.
      • Only when the last closed bar crosses below the MA 60 I will draw a red rectangle in the right corner.
      • If no cross (the last bar is just below or above the MA 60), delete all visible rectangles.

      I can draw the colored rectangles when the last bar crossed the MA. But how can I delete them? Delete objects by type or just delete objects will not work. Maybe I forgot something or I did it wrong. Can anybody help me with the structure?

      Thanks!

      posted in Questions & Answers
      V
      volkerhmb