Trailing stop
-
How i add This type Trailing Stop
Trailing Stop : Example Tr= 50 , SL=200 , TP=100
Live Buy orders at 1.30000 SL = 1.29980 TP = 1.30010
Market Move up 50 Pips (No Change ) = Live Buy orders at 1.30000 SL = 1.29980 TP = 1.30010
Market Move up 51 Pips (Change ) = Live Buy orders at 1.30000 SL = 1.30001 TP = 1.30010
Market Move up 55 Pips (Change ) = Live Buy orders at 1.30000 SL = 1.30005 TP = 1.30010
Market Move up 58 Pips (Change ) = Live Buy orders at 1.30000 SL = 1.30008 TP = 1.30010
Market Move up 60 Pips (Change ) = Live Buy orders at 1.30000 SL = 1.30010 TP = 1.30010 …..ETC -
-
Thanks for repply
i try that setting
But it not works Accourding to my example
-
Do you want to wait for some profit to be accumulated before starting to trail the stop?
-
Trailing Stop Pips=0
Trailling Step = 10
Trailling start is " PipS offset (From open price' = 10(10 Value = 10 Pips)
-
Trailing stop = 0???
At least this value should be something positive. This is where SL should be placed (relative to Ask.Bid) -
Here i Againg Explane it clearly
how i need Trailling How the %(#FF0000)[ StopLoss] want to move
Trailing Stop : Example Tr= 50 , SL=200 , TP=100
Live Buy orders at 1.30000 SL = 1.29980 TP = 1.30010
Market Move up 50 Pips (%(#FF0080)[No Change] ) = Live Buy orders at 1.30000 %(#FF0040)[ SL] = 1.29980 TP = 1.30010
Market Move up 5%(#FF0040)[1] Pips (Change ) = Live Buy orders at 1.30000 %(#FF0040)[SL] = 1.3000%(#FF0040)[1 ] TP = 1.30010
Market Move up 5%(#FF0040)[5] Pips (Change ) = Live Buy orders at 1.30000 %(#FF0040)[SL] = 1.3000%(#FF0040)[5] TP = 1.30010
Market Move up 5%(#FF0040)[8] Pips (Change ) = Live Buy orders at 1.30000 %(#FF0080)[SL] = 1.3000%(#FF0040)[8] TP = 1.30010
Market Move up %(#FF0000)[60] Pips (Change ) = Live Buy orders at 1.30000 %(#FF0040)[SL] = 1.300%(#FF0040)[10] TP = 1.300%(#BFFF40)[10] …..ETC -
Please tell me the full setting for works like this condition....i try my best
i can"t find thatsome how i need Trailing Stop = MT4 trailing function
tell me the setting
-
How can it be...
You wrote SL=200, TP=100
The open price is 1.30000 and eventually now SL=1.29980. The difference is exactly 0.0002. This is not 200 pips, it's not 20 pips, this is 2 pips!
Where is TP? 1.30010 - 1.30000 = 0.0001, means 1 pip.How can the price move up with 50 pips when TP is only 1 pip and SL is only 2 pips?
Now, what is 1 pip. Most often this is 0.0001. In 5-digits broker this also can be 10 points (not pips). In fxDreema by default 1 pip is 0.0001. There are settings that can change this, but this is how it is by default, and almost all people prefer to work with this "standard".
-
Sorry
Tr=50 Mean 5 Pips SL200 Mean 20 Pips And TP 100 Mean = 10 Pips
5 digite type
i want to move trailing with 0.1 Pip
then the above example is correct
Main thin i want to start trailing from open price (Move stoploss )when market move 5.1 Pips
StopLoss move 0.1 pip From open price >>> IF market move 5.2 then Stoploss move 0.2it may be my english is not good
that is why i provide example
Can i add these type trailing option using This block......Or that option is not include to that block
-
The first thing to realize is that even if you are in 5-digits broker, fxDreema is set up to work as the broker is 4-digits. So if you write 20 pips somewhere, this is always translated into 0.0020. To change this, go here and change these: http://prntscr.com/710ntz Or, you can try with using values 10 times smaller - 2 pips instead of 20 pips, 0.1 pips instead of 1 pip.
But in this small scale, to move SL every 0.1 pip... which probably does not happen exactly like that, because the price can jump with > 0.1 pip. I guess it will be the same as there is no step and you are modifying SL on every tick. The broker will hate you and because such modifications takes time, you will probably miss some ticks... if that matters.
Another problem is that normally there is some minimum distance where you can put SL/TP. Check this one: http://book.mql4.com/appendix/limits
So... I don't know. I'm not very good at this small scale, I normally work with distances bigger than 0.0010. But you are free to play with this and to expect possible error messages and weird stuff coming from the broker
Try everything on demo first! -
Thanks..
i can manage that
Still my problam is theirCan i move Stoploss Start"s from order opend value ? if i set " Pips off set from the opend price " ?
Or what setting for that ..?
-
Trailing Start = the level after which the SL can be modified
This is OFF by default, which means that SL can be modified right after it was created, while the trade is still on loss. If you have no SL initially, it will be immediately set. Or if your initial SL is bigger than Trailing Stop, it will be immediately modified to the Trailing Stop value.
There is option "Open price", which means that only if the price moves up a bit, SL can be modified. But if the price never goes in profit (and let's assume that the trade has no initial SL), SL will not be modified by the Trailing stop.
There is option "Pips offset", which means that the price must go beyond some level (in pips) first, then SL can be modified. While the price is below that threshold, SL can't be modified.
-
Thanks , You explane me more
but it seems to me my Requiest trailing function is not theirLook here
You place a trailing stop loss = 1 Pip trail value.
You purchase stock at 1.200
The stock rises to 1.202While the price moves up, the trailing price (stop price) will stay at 1 Pip less than the stock price.
The stock price reaches 1.202 then The trailing stop loss would be at 1.201
The stock price reaches 1.203 then The trailing stop loss would be at 1.202
The stock price reaches 1.210 and then it starts to drop. The trailing stop loss would be at 1.209
Once the stock price hits 1.209 , your trailing stop loss order will become a market order. This means that you will sell the stock. At this point, your gains are locked in.I Explane here with Pips Values At early i explane With point
%(#FF0040)[I think you have to create New Block for these type Trailing function]
Is iam correct ?
Because Who like to trade with Scalping system ,, these type Trailing function should Needed%(#FF0040)[Finaly do you think you include these type trailing function in your Block ..?]
Thanks you
-
I can't see something new in your explanations, it looks like normal trailing stop in small scalping scale. I will suggest to play with this block on a normal scale first, to see how it works.
-
Yes...that"s i need
how the setting for nomal Trailing ...?
see my image
it is not works as above......
Trailing.jpg -
The settings for normal Trailing stop? Just add a new Trailing stop block and you will see them.
Trailing Stop MUST be a positive value. This is the distance where SL should be kept when the price is going into profit.
if Ask > SL + TrailingStop+TrailingStep => set SL to Ask-TrailingStop
-
Thanks friend
now Trailling is ok
when visite MQL i can see Many unwanted (not using ) option include in mql
Is the Ea get Slow with Excutions ?
-
Yes, most of the output code is never used and it slows down the backtest, because you know... backtesting means many many ticks backtested per second, so everything in the code matters. But this is EA generator after all, it's not the best programmer in the world that can optimize things to the best. It also depends on what blocks are used and how are they connected. Sometimes you can use some indicator and the EA will almost freeze because of it.