HI Masta2
Mcm mane nak buat ea traling stop bawah ni.
cth price up.
Open post setiap 10 pip( boleh setting) dan bile open post ke 3,modify SL post 1 ke price post ke 2. bila price down post 1 kena SL. bila price up balik sambung post ke4 dan modify SL post ke2 ke post price post ke 3.
1st post buy EU 1.3039.
2nd post buy EU 1.3049.
3rd post buy EU 1.3059 & Modify SL 1st post dekat 2nd Post
4th post buy EU 1.3069 & Modify SL 1st,2nd Post dekat 3rd post.
Bawah ni program untuk open post
extern double PipStep = 10.0;
extern double InitialLot = 0.01;
extern int MagicNumber = 88000;
int start() {
if (Ask - OrderOpenPrice() >PipStep){
OrderSend(Symbol(), OP_BUY, InitialLot, Ask, 3, 0, 0,"EA Buy", MagicNumber, 0, Blue);
**
**
Harap masta2 dapat membantu.