작업 종료됨
명시
My EA have a clear entry/exit System with a trailingstop if the trade go in profit. the goal is to improve the losses. I want for this a simple hedging-system that autonomous work. the hedging-trades should have TP, SL and TS as well compare like the initial-trades! The question is, how should or better when should the EA entry an opposite (hedging) trade. for this, the EA should have a simple function. The ea should have the function "Hedge at loss Pips" because I want to defined the value of X pips if the initial-trade goes in wrong direction. also the lot-size should be defined e.g. hedge lots percent.
My EA works in Minipis, that mean, 1pip =10Minipip!
The EA has a Bug, because he trade not on live:(....
EA rules:
- If the closing price of the previous candle was higher than the current - EA opens sell (Position with a defined TP, SL and TS ). Close sell if TP or TS
- If the closing price of the previous candle was lower than the current - EA will open buy (with a defined TP, SL and TS ). Close buy if TP or TS
- TS like in Code
- Hedge-Position => If Initial-Sell/Buy-Position goes X-Pips in wrong direction then he should open an opposite Position. Lotsize should be variabel => Rules for the Hedge; Hedge should have TP, SL and TS as well (same like initial-position) If Hedge are in profit, intial-Position remove his TP+SL to same TP+SL like hedge. If Hedge close in profit, initial-Position close immediately.