Hi, it is still under-developing, but please test it.
I have not coded to delete stop order, so please find the best logic when buystop/sellstop order should be deleted.
TP1 order is closed , then stop order should be deleted? Or TP1,2,3 closed, then stop-order should be deleted? What is your idea?
By the way, the smooth EA period 10 and 20 is too close. Is that OK?
Hi Bro Tanaka,
i have been checking the Coded EA and this is almost done with corrections and fine tune. i will re-phrase the previous strategy condition and i hope this will find the coding much easier.
Custom EA Infinity Scalper
Strategy Rules:
Filter:
Smooth Hull MA (50,3,0) (this is present already in the coded EA, we will use it)
Long Filter: only Buy trade will be considered when price above Hull MA
Short Filter: only Buy trade will be considered when price Below Hull MA
Trigger
Infinity trend line arrow
TRADE STRATEGY OPTION-01 (multiple position)
Buy Condition
Arrow trigger Buy will place 3 order and 1 sell stop
(Buy 1,2,3 = TP1, TP2, TP3,& SL1,SL2,SL3
- pre-define pip, 0= no TP or SL)
(SellStop
- pre-define pip) (recovery position)
(Trailing stop
- pre-define pip) trailing will be applied to all order
Condition
1) If TP1 prireached them
a) Cancel sell stop
Recovery position
1) If TP1 did not reached after Arrow trigger
a) Then sell stop will be triggered upon reverse price touch then activate
Sell Condition (same Buy condition in reverse) will ignore filter rule
b) Do not Close previous Buy1,2,3 we wait stop loss to be triggered, perhaps a re-tracement/correction only.
TRADE STRATEGY OPTION-02 (Tanaka Approach)
Buy Condition
Arrow trigger Buy will place 1 order and 1 sell stop
(Buy 1 = TP1
& SL1- pre-define pip, 0= no TP or SL)
(SellStop
- pre-define pip)
(Trailing stop
- pre-define pip) trailing will be applied to all order
Condition
2) If TP1 reached them
a) Cancel sell stop
Recovery position
2) If TP1 did not reached after Arrow trigger
a) Then sell stop will be triggered upon reverse price touch then activate
Sell Condition (same Buy condition in reverse) will ignore filter rule
b) Do not Close previous Buy1,2,3 we wait stop loss to be triggered, perhaps a re-tracement/correction only.
Lot Parameter applies only for TRADE STRATEGY OPTION-02
Lot Parameters
1) Lot multiplier
2) Marti multiplier
3) Marti attack
Add Ons
1) News Filter
2) Trading Days Selector
3) Trading Session Selector
4) Additional Filter
Thank you for your time..