Hello Coders & Traders;
I wish i could asked someone to code this trailing planner in my mind, since i can't find any similar trade manager. This planner could be divided in 2 steps TrailPoint and worked accordingly for 2 different trailtype option.
Parameter we will need:
(Int) InitialSL:
(Int) ProfitTP:
(Int) TrailPoint1:
(Int) TrailPoint2:
(Int) TrailingStep1:
(Int) TrailingStep2:
(Bool) TrailType1: (Aggresive / Basic )
(Bool) TrailType2: (Aggresive / Basic )
Suppose we have Sell order ( Market or Pending ) @ 1.11100
InitialSL : 400 ---> InitialSL will be placed to 1.11500
ProfitTP : 2600 ---> ProfitTP will be placed to 1.1085
TrailPoint1: 200
TrailPoint2: 1100
TrailingStep1: 100
TrailingStep2: 300
TrailType1: Aggresive
TrailType2: Basic
What is basic and what is aggresive?
Basic way, TrailStep1 will start @ ( Bid/Ask +/- TrailPoint1 +/- TrailStep1 )
Aggresive way, TrailStep1 will start @ ( Bid/Ask +/- TrailPoint1).
With this setting, ea will progress like this:
@ 1.11100 --> InitialSL placed @ 1.11500
@ 1.10900 --> SL moved to @ 1.11400
@ 1.10800 --> SL moved to @ 1.11300 ..... and so on until price touch Level2 ( OrderPrice +/- TrailPoint2 )
1.11100 - 1100 = @ 1.10000.
@ 1.10000 --> SL has moved to @ 1.10500
At this point TrailType1 finished working, and start logic of TrailType2
While this input of TrailType2 were basic, thus ea will wait until moved 300 points to moved SL 300 points stepping until Profit TP
@ 1.09700 --> SL moved to 1.10200
But If TrailType2 was Aggresive as soon as price reach 1.10000 --> SL moved to @ 1.10300 ( SL Stepping 300 points aggresively from 1.10600 - 300 ).
Lastly, ea can manage trailing process according to current chart, magicnumber, ticketnumber or comment.
I hope i explained clearly and hope someone to see if this possible?
For Better Flow Analogy, please see file attached below.
PS: I'm unable to describe in excell, but i believe with your intelligent, u can understand me.
I Believe this ea will be usefull for manual trader and i'm appreciated for someone to help our community.
God Bless U all.
I wish i could asked someone to code this trailing planner in my mind, since i can't find any similar trade manager. This planner could be divided in 2 steps TrailPoint and worked accordingly for 2 different trailtype option.
Parameter we will need:
(Int) InitialSL:
(Int) ProfitTP:
(Int) TrailPoint1:
(Int) TrailPoint2:
(Int) TrailingStep1:
(Int) TrailingStep2:
(Bool) TrailType1: (Aggresive / Basic )
(Bool) TrailType2: (Aggresive / Basic )
Suppose we have Sell order ( Market or Pending ) @ 1.11100
InitialSL : 400 ---> InitialSL will be placed to 1.11500
ProfitTP : 2600 ---> ProfitTP will be placed to 1.1085
TrailPoint1: 200
TrailPoint2: 1100
TrailingStep1: 100
TrailingStep2: 300
TrailType1: Aggresive
TrailType2: Basic
What is basic and what is aggresive?
Basic way, TrailStep1 will start @ ( Bid/Ask +/- TrailPoint1 +/- TrailStep1 )
Aggresive way, TrailStep1 will start @ ( Bid/Ask +/- TrailPoint1).
With this setting, ea will progress like this:
@ 1.11100 --> InitialSL placed @ 1.11500
@ 1.10900 --> SL moved to @ 1.11400
@ 1.10800 --> SL moved to @ 1.11300 ..... and so on until price touch Level2 ( OrderPrice +/- TrailPoint2 )
1.11100 - 1100 = @ 1.10000.
@ 1.10000 --> SL has moved to @ 1.10500
At this point TrailType1 finished working, and start logic of TrailType2
While this input of TrailType2 were basic, thus ea will wait until moved 300 points to moved SL 300 points stepping until Profit TP
@ 1.09700 --> SL moved to 1.10200
But If TrailType2 was Aggresive as soon as price reach 1.10000 --> SL moved to @ 1.10300 ( SL Stepping 300 points aggresively from 1.10600 - 300 ).
Lastly, ea can manage trailing process according to current chart, magicnumber, ticketnumber or comment.
I hope i explained clearly and hope someone to see if this possible?
For Better Flow Analogy, please see file attached below.
PS: I'm unable to describe in excell, but i believe with your intelligent, u can understand me.
I Believe this ea will be usefull for manual trader and i'm appreciated for someone to help our community.
God Bless U all.
Attached File(s)
Trail.xlsx
12 KB
|
245 downloads