5 dollars in one hour
-
hello my friends
I want my expert advisor to take a profit of 5 dollars in 1 hour and not open a trade until the next hour starts.
Example: Total profit target: $5 per hour.
Let's say he took a profit of 5 dollars at 13:25. The trade will not open until 14:00.
How can I do this? -
@ladydolares Place a trade once per hour bar, close profitable order when gets yo $5. Put a no position block at top but have conditions to close order before new one opened if the one per hour is wanted and it hasn't closed for profit.
-
I don't want it to open 1 trade per hour. I want it to open trades to earn 5 dollars per hour.In order to earn 5 dollars, it can open 50 trades in 1 hour, or it can open 2 trades.
-
@jstap i need help please help me
-
@ladydolares But what happens if no 5 dollars are gotten? Are then all open trades immediatelly closed?
-
@l-andorrà hello, no, don't cancel it. Let the open trades continue.
-
@ladydolares But then we have a problem. The EA will open unlimited trades every hour until 5 dollars are gotten. Then what's the point of using 1 hour limits? Why not looking for 5 dollars independently of time?
-
@l-andorrà you are right you are right. If he doesn't get $5 in 1 hour, the open trade will be closed.
-
help please
-
@ladydolares You can try this:

-
There is a special block Check profit (period of time). This block is a little bit confusing even for me, but I made it for that reason, to calculate the profits made in certain period of time. I think the settings for you should be like this:

If for some reason this doesn't work, try with 1 instead of 01:00.
-
@fxdreema Interesting. Never used it before.