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 -
other than just needing an If Position above those blocks, it should work just fine.
but those blocks look like they are copied and pasted from mt4...I dont think they are handled as groups in mt5
-
@ontradingx You need a specific structure to do that. No block in fxDreema can calculate that in the way you need, sorry. More something like this:
-
@l-andorrà sounds like he's just saying trail @ $50. Step @ 10$ ? I will say though, that trailing by money didn't work for me. Perhaps because I was using pips elsewhere is why, but trailing in dollars didn't work. It still utilizes pips.
-
@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. -
@ontradingx
man, I feel like youve been working on a "money close" for months now...lol. I mean, its not funny, but, you are VERY persistent. I admire it.I thought @jas from my group helped you out before with his daily and weekly target method?
eh, I guess thats not really the same thing though. TBH, I dont know anymore. I thought money meant money when I selected it, but it only means pips after my last observation. -
disregard, I am using it on another EA right now and it is closing by money. I would bet that you must split your EA to do pips or money in order to avoid conflicts between pips, ticks, or 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. -
@ontradingx said in 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/RgolfJA2dTry this way

-
@ambrogio What do you understand about this logic you sent me?
Can you explain what you think he's doing? -
@ontradingx The logic you requested in the first post, did you try it? When the gain is 50, the profit guaranteed is back 40 (50-10 insured) and moves 10 in 10 as it rises