take profit filter
-
are these blocks being used correctly. i was trying to put together a minimum goal in mind
-
I don't get the logic behind it, sorry. What do toy exactly need?
-
When these conditions are true:
- Profit (swap and commissions) is greater than 2 cents
- the change in price must be Greater than the spread - that's why I used a price fraction
- for sell order the ask price must be below .998 x ( open price of trade)
For buy orders the bid price must be above 1.002 x (open price of trade)
-
Point 1 is easy to do. Pont 2 is more confusing. What do you exactly mean by 'change in price'? Change from what exactly, the open price maybe? And shouldn't be point 3 the same as point 2? What is the difference between them?
-
@l-andorrà said in take profit filter:
Pont 2 is more confusing. What do you exactly mean by 'change in price'?
if the spread is .02( 2 pips) then the difference between the price i opened my trade at and the current close price must have a profit greater than .02
@l-andorrà said in take profit filter:
nd shouldn't be point 3 the same as point 2? What is the difference between them?
in this point depending if a buy or sell im aiming for 2% change in price
-
@purelife173 But is that spread value the current one or the one when the trade was opened? Because they can be different.
-
@l-andorrà hmm never thought of that but id say the current one
-
Ok. So conditions are:
- Profit right now is bigger than 2 cents.
- Profit right now is bigger than current spread beyond open price.
- Profit must be above below those percentages you specified.
Is that correct?
-
@l-andorrà correct, for point 2 would it be too troubling to use the spread at the time the trade was open. i would have to keep put that value into some variable right? how would it work for multiple trades would i have to maintain multiple variables?
-
Yes, but the problem is that you will have to store that spread value for every open trade separately. The only way do to that is by using an array that fxDreema cannot offer. You would need custom code for it.