@ontradingx Just correcting, the condition block is not necessary, I removed it from the project.
Posts made by OntradingX
-
RE: Get Daily Changeposted in Questions & Answers
-
RE: Get Daily Changeposted in Questions & Answers
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.

Project https://fxdreema.com/shared/zaxL9bUsd -
Get Daily Changeposted in Questions & Answers
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"
-
RE: Trailling using Moneyposted in Questions & Answers
@ambrogio What do you understand about this logic you sent me?
Can you explain what you think he's doing? -
RE: Trailling using Moneyposted in Questions & Answers
@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. -
RE: Trailling using Moneyposted in Questions & Answers
@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. -
Trailling using Moneyposted in Questions & Answers
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 -
RE: Press Button Draw buttonposted in Questions & Answers
@johntyr and @l-andorrà
SorryI 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. -
Automatic button adjustment in Fxdreema.posted in Questions & Answers
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? -
RE: Separate sum of negative and positive trades.posted in Questions & Answers
@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.
-
RE: Separate sum of negative and positive trades.posted in Questions & Answers
@jstap can you give me an example with a project or something? or screen prints?
-
RE: Separate sum of negative and positive trades.posted in Questions & Answers
@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. -
RE: Separate sum of negative and positive trades.posted in Questions & Answers
@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. -
RE: Separate sum of negative and positive trades.posted in Questions & Answers
@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? -
RE: Separate sum of negative and positive trades.posted in Questions & Answers
@ontradingx
my project https://fxdreema.com/shared/bxxStRQye
strangely even the sum total is being done incorrectly by fxdreema.
can someone correct me if my logic is wrong? -
Separate sum of negative and positive trades.posted in Questions & Answers
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.
-
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.posted in Questions & Answers
@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? -
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.posted in Questions & Answers
@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? -
Find out if the previous Zig Zag was below average at that point in the past and not at the current point in time.posted in Questions & Answers
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?

@miro1360 You are very good at this, can you help me?
-
RE: Grid orders being placed inversely, possible Bug?posted in Questions & Answers
@ontradingx Hi friends I was able to find and solve the problem by putting negative numbers
thank you to everyone.