@ehsan1362
hi ehsan
You got it right
I know that I have to define the variable in such a way that every tick its amount that is updated and from this moment on, the comparison reference can be with the current profit of the transaction.
Posts made by Elham
-
RE: compare And update Variableposted in Questions & Answers
-
RE: compare And update Variableposted in Questions & Answers
@l-andorrΓ
I know how to share the project but what I wanted to show you were the blocks related to profit and percentage.
My question is not about a specific project, this is an idea that I have and it can be implemented in any project with any strategy and be a part of it to prevent big losses, so I wanted a photo of the desired blocks that you mentioned above ΨΨ§that I want to Share you to see if I missed something? or is there any other blocks that I didn't see? -
RE: compare And update Variableposted in Questions & Answers
Please someone help me in this matter
In addition, I do not know how to attach the photo taken from the open windows discussed above?
I hope someone CAN solve this problem -
RE: compare And update Variableposted in Questions & Answers
Hello
As you said, there are windows to check the profit at any moment, so I found these few in the picture.
What I want is that considering that the variables can be changed, I need it save the highest profit touched in a transaction in itself, so that I can define in other blocks such as a conditions that compares the current profit in each tick to the maxprofit of That special transaction (((Assuming we only have one open trade)))Now, due to the fact that the variable amount is updated every moment, I can compare this amount with my current profit , and when the (n) percent between these two gaps is created, I will exit the transaction.
-
compare And update Variableposted in Questions & Answers
Hello,
please help me with the following problemI created a variable named maxprofit that I want its value to be updated in every tick so that it can be compared with current profit in every tick.
How can I define this variable?
and EA relative to this new variable value and compering them close positions -
RE: How we define do not buy/sellposted in Questions & Answers
https://fxdreema.com/shared/RsCCpqSmc
My question is about blocks 1-2-18-19
This robot makes wrong purchases in situations above ma 50. I want to add a condition so that it does not buy in such situations even though it is in a buying position . how can I identify exception situations? -
How we define do not buy/sellposted in Questions & Answers
Hi
We define the conditions for buying or selling. The EA constantly checks the conditions and acts. Now if we want to say that : in certain conditions (X) which is a block condition, the buy block does not work, how should we make this? Because when I declare a condition and in that case I say turn off the block number (n), it doesn't buy/sell at all
So, in short, how to tell EA that ((don't do this)) -
RE: Close position With the condition of checking the balanceposted in Questions & Answers
Hi
Thank you I understood what you mean
I have to make a loop before check profit


Thank you very much for solving my problem -
RE: Close position With the condition of checking the balanceposted in Questions & Answers
what do you mean? do you mean I have to change the place of 41 & 42?
-
RE: Close position With the condition of checking the balanceposted in Questions & Answers
Hiiiiiiiii

Please somebody answer me!

-
RE: How can I define distance between two MAposted in Questions & Answers
I found the answer

thanks -
How can I define distance between two MAposted in Questions & Answers
Hi Dears
Please tell me
How to define for fxdreema that after the cross of two moving averages, it waits until the distance between the two moving averages reaches (n) pips and then enters the trade -
Close position With the condition of checking the balanceposted in Questions & Answers
Hi
Please help me with the following questions
First
Why close position does not work under the profit check block and does not close any position?
Second
How to introduce a loss transaction in the profit check block? How to write a negative number instead of the profit percentage value so that it is understandable for the system
https://fxdreema.com/shared/Pj8Nmowyd -
RE: close position/order does not workposted in Questions & Answers
pleasssssssse send the picture again
-
RE: close position/order does not workposted in Questions & Answers
what happen for the picture it is not no longer hear?

-
RE: close position/order does not workposted in Questions & Answers
I think I understood what you meant, I will let you know the result.
-
RE: close position/order does not workposted in Questions & Answers
Could you please send me the link of the above photo so I can see how you defined the conditions of the closing?
-
RE: close position/order does not workposted in Questions & Answers
So how can I close this position?
