fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. OntradingX
    3. Posts
    • Profile
    • Following 1
    • Followers 7
    • Topics 120
    • Posts 427
    • Best 28
    • Controversial 1
    • Groups 0

    Posts made by OntradingX

    • RE: Get Daily Change

      @ontradingx Just correcting, the condition block is not necessary, I removed it from the project.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Get Daily Change

      Hi friends @TipsyWisdom and @l-andorrà , thanks for trying to help, I got what I wanted by doing the following:
      We all know that the daily % calculation is measured by the distance of the current price in relation to the closing of the last candlestick of the previous day.
      So it was very simple.
      I made this calculation and printed it on the chart as below.
      I hope this helps someone because it is helping me a lot.
      0_1637453801138_DailyChange.png
      Project https://fxdreema.com/shared/zaxL9bUsd

      posted in Questions & Answers
      OntradingX
      OntradingX
    • Get Daily Change

      Hello friends,

      Do you know where I can find in Fxdreema the place to get the (daily change) value of the currency pair for example EURUSD ?

      Notice in the image below that I want to get the value that is in %.
      To enable the display, just click where the assets are shown with the right mouse button and click "columns" and then "daily change"

      0_1637325487995_dailychangeeurusd.png

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Trailling using Money

      @ambrogio What do you understand about this logic you sent me?
      Can you explain what you think he's doing?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Trailling using Money

      @tipsywisdom Thanks my friend, I'm really insisting on closing for money because my trading style looks at the price, and analyzing the blocks I'm not able to understand the correct way to do this, I'm persistent yes you can believe it.
      Your friend I believe is too busy and I didn't want to bother him with the subject of goals anymore, I've already managed to do everything I wanted to do about goals and it's already working perfectly in the real market.
      I don't know if you have any examples to help me, if you do I would be very grateful.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Trailling using Money

      @tipsywisdom and @l-andorrà
      Hi friends, I really want a trailling that I keep tracking for money.

      I realize that the explanation of the block doesn't give much details, it's a little confusing to understand if you have an example in fact.
      Here I am trying to do something quite manual by creating variables that monitor the values ​​when they reach their maximum targets and the returns adding a % or so a fixed target gain value in trailling.
      Something like this:
      Variable (Maximum Profit Achieved)
      Constant (Profit reserve) (*0.50) 50%
      Variable (Target value)
      When the EA sees a floating profit of 50$ it stores this value in the variable (Maximum achieved profit) and immediately it observes the constant (Profit Reserve) performs the calculation and saves the value in (Target value).
      If the float is = or < the value of the Profit Reserve, it must close operations immediately.
      Now the point is that this wouldn't be a Trailling Stop for cash, it would just be a reserve, I still have to think about how to make a Trailling to narrow it down until it guarantees maximum profit. For these difficulties I use trailling through fibonnaci.
      If you have any idea how to do it and be able to help me, I will be very grateful, friends.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • Trailling using Money

      Hi friends, can someone give me an example of how to build a Trailling Stop that works with amounts of money correctly and that works:

      I'm trying to create the following:
      When the total profit reaches 50$ guarantee me a 10$ profit and from then on I guarantee every 10$ earned.
      So in a nutshell.
      Profit achieved: 50$
      Reserved profit: 10$

      When the EA sees in the sum of the profits the value of 50$ it will guarantee me the 10$, if the price comes back it will not give me less than 10$.
      When the EA hits $60 then it will guarantee me a $20 profit.
      That's how I understand it works.
      Can anyone tell me if the way I'm doing it is correct and if not maybe give me an example?

      I created this project to try to understand how it works.
      https://fxdreema.com/shared/RgolfJA2d

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Press Button Draw button

      @johntyr and @l-andorrà
      Sorry

      I believe I expressed myself badly.
      What I meant is if the buttons, let's say I have 3 buttons under each other and I want to put them in the lower left corner of the EURUSD chart.
      If I do this and configure x and y axis on a 30 inch screen with a resolution of 1920x1080 and open this EA on another screen with the same resolution I will see the buttons normally.
      But if I open this EA on a 21 inch screen with a resolution of 1024x768 the buttons disappear, and I have to reconfigure the x and y axes.
      Same for an 800x600 screen
      What I wanted is to create some way for the EA to detect the screen size and be able to adapt the buttons to appear correctly in any type of screen resolution.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • Automatic button adjustment in Fxdreema.

      Friends, I would like my buttons when I insert my EA into the Chart to fit the user's screen size. A self-adjustment.
      Let's say that I want these buttons in a place that doesn't mess up the graphic too much and that at any screen resolution these buttons don't disappear from the graphic, that they fit and always appear, and that I can choose to have them in any of the corners always aligned.
      Is it possible to do this here in Fxdreema?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Separate sum of negative and positive trades.

      @jstap and @l-andorrà
      https://fxdreema.com/shared/RrTPKY0sb
      Hello friends, I got what I wanted separating the blocks, unifying them the error happened.
      I also used it in the condition (Close time Unix), it was more correct in obtaining the exact negotiations and values.
      Thank you very much for your help, you were very friendly.

      I hope this project helps someone in need.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Separate sum of negative and positive trades.

      @jstap can you give me an example with a project or something? or screen prints?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Separate sum of negative and positive trades.

      @l-andorrà
      https://fxdreema.com/shared/m6WUZy7pb
      This is my project I'm testing, can you help me?
      I only want to separate the current day trades.
      But this is not happening.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Separate sum of negative and positive trades.

      @l-andorrà I understand, the biggest issue is that these "For each" blocks don't get data from a period, they get it by quantity and for what I need it must be a period.
      For example, I want to get the sum of all winning trades for today.
      I've tested it in every way and it doesn't work, I don't know if it's Fxdreema or Metatrader, it's disheartening.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Separate sum of negative and positive trades.

      @l-andorrà Thank you very much for your help, but what I want is to see the metatrader history.
      This example of yours doesn't search the history if the computer or VPs is shut down, so I was trying to use the business bucket to try to make the EA get the values already closed whenever it is put back on the screen, would you have any suggestions?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Separate sum of negative and positive trades.

      @ontradingx
      my project https://fxdreema.com/shared/bxxStRQye

      0_1633889031931_sumoftradesincorrect.png
      strangely even the sum total is being done incorrectly by fxdreema.
      can someone correct me if my logic is wrong?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • Separate sum of negative and positive trades.

      Hi friends, I would like to know if anyone can give examples of how I can get positive and negative values separately from the trading bucket.
      Example:
      I opened 4 deals:

      trading 1 earned 0.10$ profit
      trading 2 I won 0.05$ and profit
      trading 3 I lost 0.05$
      trading 4 I lost 0.06$

      I want my EA to show the result on the screen:
      Sum of profits: 0.15$
      Sum of losses: -0.11$

      I'm trying different ways here on Fxdreema and I'm not succeeding.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Find out if the previous Zig Zag was below average at that point in the past and not at the current point in time.

      @jstap That's right, I need to compare the candle id of the zig zag with that of the moving average, and know if at that exact moment it was actually below.
      Where is this code?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Find out if the previous Zig Zag was below average at that point in the past and not at the current point in time.

      @jstap Thanks my friend for wanting to help me.
      I understand about identifying who's who.
      The problem is that I have a condition that looks at whether the previous zig zag (was) at that time below or above average.
      If you look, imagine that I'm at the exact moment a L0 zig zag formed, so right now I want to know if the H0 zig zag (was/in the past) below average, not if it (is/in the current moment).
      If I observe it is evident that it was below average in the past, but if we create a rule to verify it will accuse that the zig zag is above average because it is looking at the (current) average price that is already below the price of the zig zag h0.
      Did you understand?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • Find out if the previous Zig Zag was below average at that point in the past and not at the current point in time.

      Hi friends I want to identify if the previous zig zag was below average at that moment and not at the current moment.
      I realize that if I create a rule where I want to check if the previous high zig zag is below average then it is actually looking at the current price of the average against the price of the previous altar zig zag and the average moves down and crossing his price down.
      Knowing that that previous zig zag was formed below average would be enough.

      Can anyone guide me on how to do this correctly?
      0_1631616631953_pricezigzagandma.PNG

      @miro1360 You are very good at this, can you help me?

      posted in Questions & Answers
      OntradingX
      OntradingX
    • RE: Grid orders being placed inversely, possible Bug?

      @ontradingx Hi friends I was able to find and solve the problem by putting negative numbers
      thank you to everyone.

      posted in Questions & Answers
      OntradingX
      OntradingX
    • 1
    • 2
    • 18
    • 19
    • 20
    • 21
    • 22
    • 21 / 22