@trader-philipps
yes, Thank you very much for your cooperation, it is working well now

khalids222
@khalids222
I AM NEW LERNER
Best posts made by khalids222
-
RE: close path bar for same order ?posted in Questions & Answers
-
RE: How can I protect profits from returning to loss?posted in Questions & Answers
@roar THANK YOU VERY MUCH
-
RE: How can I add a specific level to the moving average at fxdreema ?posted in Questions & Answers
@roar
thank you very much
I appreciate your efforts and thank you for helping me -
RE: what is the best option for candle body or wick for (candle 0)?posted in Questions & Answers
@titangeorge thank you very much I appreciate your cooperation and efforts
-
RE: I want help with adjusting the lotposted in Questions & Answers
@roar Thank you very much it works well, thank you with all my heart.
Grateful to you -
RE: work in one per tickposted in Questions & Answers
@roar I understood after the effort
You are really creative. Thank you, we always learn from you Deserve

-
RE: How do I deal with price distances? Without any relation to time or candleposted in Questions & Answers
@ajmd97fx said in How do I deal with price distances? Without any relation to time or candle:
no estoy seguro, pero creo que en tick id debes poner el valor 0
Thank you. I think if not put it is zero by default
that's not the reason -
RE: How can I find the average opening price for the last two positions?posted in Questions & Answers
@ladydolares
It's not your fault
The issue is not resolved -
RE: Open sell from buy position every ten pipsposted in Questions & Answers
@bk7 Thank you, but this method is not successful. Do you have a better suggestion
-
How can I work on a candle (H1) & make the expert through one per barposted in Questions & Answers
How can I work on a candle (H1) & make the expert through one per bar pass , How do I make it pass three deals between each one twenty minutes.
Latest posts made by khalids222
-
RE: SOME ONE THAT HAVE ALREADY PAID FOR FXDREEMA PLAN.posted in General Discussions
I had been paying and subscribing to their service since 2020, almost continuously. However, a few months ago, I reached out to suggest that, considering the length of my subscription, there should be some kind of discount for long-term customers — but they didn’t respond.
Yesterday, my subscription expired, and I decided not to renew it. Paying for a service that I can now do for free no longer made sense.
I was surprised to find that ChatGPT can create exactly what you want — expert advisors — with extremely high accuracy, in less time, less effort, and completely free. Since I wanted to build an EA, I gave it a try and found it incredibly enjoyable, fast, free, and precise. It doesn’t even require any prior knowledge or asking anyone — and it's very easy to make modifications.
I won’t deny that I enjoyed FXDreema and that I really liked their platform. I'm grateful to them because I learned a lot from using it. But as of today, they haven't responded to the current technological advancements, and that’s going to make things very difficult for them moving forward.
All in all, it was a great experience, and I wish them the best.
-
RE: "I want to set a variable that stores the balance every time it drops by 10 dollars."posted in Questions & Answers
@l-andorrà said in "I want to set a variable that stores the balance every time it drops by 10 dollars.":
But why do you exactly need the variable if you can open a new trade directly when the condition is met?
The condition is not working correctly
-
"I want to set a variable that stores the balance every time it drops by 10 dollars."posted in Questions & Answers
I want in this example to open a trade whenever the balance drops by 10 dollars, regardless of the type of trade. I want to set a variable that stores the last balance value each time it changes. My attempts have not been successful."
https://fxdreema.com/shared/kGtTmczmd -
The value of the monthly or quarterly subscription؟posted in Questions & Answers
A few days ago, my subscription ended, and every time I renew it, I choose six months or three months. I have been a member since around 2020. The truth is, I have benefited greatly from this site in the field of programming. I didn’t understand anything about it at all, but I recently started learning the C language about a month ago because it is high-level in programming. I made the decision to learn programming. I won’t go on too long, but I saw that a subscription to a programming site costs no more than $5 per month, yes, five dollars per month. With the presence of artificial intelligence, you can create a program that works as you want in simple steps and in any language you want, but on the condition that you understand what programming is. What I wanted to say, and I think everyone agrees with me, is that the cost of 36 euros for three months is very high on this site and should be reduced.
-
RE: I NEED TO LOGICposted in Questions & Answers
@jstap I honestly did not understand, but my question is: how do I store the balance in a variable after each SELLOR BUY PLEASE?
-
RE: I NEED TO LOGICposted in Questions & Answers
how i can SET the new balance after opening the transaction?
-
RE: I NEED TO LOGICposted in Questions & Answers
@jstap https://fxdreema.com/shared/5WxWi9tad
I have tried all the methods, but the problem is how to SET the new balance after opening the transaction. I put a zero number in the balance box after the buying and selling process, but I do not know whether it is correct or not.

-
RE: I NEED TO LOGICposted in Questions & Answers
@jstap First of all, thank you for the response, but I tried more than once and it did not work in all cases. I do not know what the problem is
-
I NEED TO LOGICposted in Questions & Answers
In this example, I wanted to design an expert who opens a deal when the Equity drops ten dollars. Every time the Equity drops ten dollars, he opens a deal, but I could not create the logic for this method. I do not want to open a deal at every ten points through the pink blocks. I want to open a deal. When the balance drops to only ten dollars
https://fxdreema.com/shared/fedtKqgR
I used GPT chat, and it was explained, but I did not understand it in the BLOCKS method. Can someone explain it in the BLOCKS method?double initialEquity;
double threshold = 10;int OnInit() {
initialEquity = AccountEquity();
return INIT_SUCCEEDED;
}void OnTick() {
double currentEquity = AccountEquity();if (initialEquity - currentEquity >= threshold) { Print("Opening a trade because equity decreased by ", threshold, " dollars."); // Open a buy or sell trade randomly if (MathRand() % 2 == 0) { if (OrderSend(Symbol(), OP_BUY, 0.1, Ask, 3, 0, 0, "Opening a buy trade", 0, 0, clrGreen)) { Print("Buy trade opened successfully"); } else { Print("Failed to open buy trade"); } } else { if (OrderSend(Symbol(), OP_SELL, 0.1, Bid, 3, 0, 0, "Opening a sell trade", 0, 0, clrRed)) { Print("Sell trade opened successfully"); } else { Print("Failed to open sell trade"); } } // Update initial equity initialEquity = currentEquity; }}
In this code:
We define initialEquity to store the initial equity when the script starts.
We define threshold as 10 dollars.
In the OnInit function, we set initialEquity to the current equity.
In the OnTick function, we compare the current equity with initialEquity.
If the equity has decreased by threshold or more, a trade is opened randomly (buy or sell).
After opening the trade, we update initialEquity to the current equity to ensure the condition applies the next time equity decreases by another 10 dollars.
This way, a trade is opened each time the equity decreases by 10 dollars, whether it's a buy or sell trade, randomly.