Question on Breakeven and then start Trailing stop
-
@Suraj0544 The problem of price crossing cannot be used as per your block 11 settings (sadly). What you can do is using the current candle o close instead of the ask price to cross the line.
On the check distance issue, I recommend to try a separate smaller version of the block and try it alone. It should work. If it doesn't work here the reason is probably some code interfering from outside it. -
l'andorrà Please reply on this
-
-
Issue for new project 1-- how I will find candle volume in mt5. I Have to make ea on candle volume.(CANDLE ID 2 crossabove 9 EMA and candle id 1 close above id 2 close and candle id 1 volume should be greater than id 2 volume-------buy viceversa for sell
2--second query is that If I want to operate algo trading by android mobile means algo trading off/on can do by mobile, is it possible or not. suppose I make ea and linked with real account in mt4/5 and algo trading is on through laptop and ea working and if profit is done for that day and I have to off my algo then I can off my algo by mobile or not. -
https://fxdreema.com/shared/OAUZ2ECkb
This is the project link .I made this EA for manual trade when I take trade manually its SL and TP place by EA automatically and its happening properly.Problem is that its unable to set breakeven as well as trail SL, only first TP is booking as instructed by me.
When breakeven or trailing point coming as per me the SL firstly set as per breakeven or trail but just after set as previous SL and this process happening till trade is running.just sharing screenshot. -


-

Please take a look SL is trailing but within just a second placed on its previous position.
-
@Suraj0544 this because your #51 block always replace the stop loss to its value

-
What is the alternate way to fix it.
Firstly breakeven should set, secondly trailing stop should work.Please suggest -
@anyone reply please on these problems.
-
@Suraj0544 this way, remember that the trailing must be bigger than break even

-
@ambrogio by this we will able to set breakeven and then trailing stop for manual.opened trade or not.because previously I was added "modify stops of positions"Please reply boss.
-
The blue "modify stops of position" is in conflict. Remove it. You need instead a pink set up "for each trade, once per trade, modify stops". let me know
-
I'm not aware of why you want to change the stops, it may be that it's not really needed
-
ok boss. I need only this one in this project
1- no any automatic trade should enter by EA only when I take manual trade,its stoploss and takeprofit should automatically placed by EA and when trade goes in profit 50 pips it sets breakeven first after that on every 10 pips it trail its stoploss 10 pips.For this I want to make EA.
FINALLY, PLEASE TELL ME WHICH BLOCK AND ITS SETTING SHOULD I USE TO MAKE EA. -
@Suraj0544 so you place the order manually......then
1- pink blocks : for each manual trade=>once per trade=>modify stops
2- as my example above : if trade=>break even and trailing stop (see picture above). Inside break even put 50 pips, inside trailing stop put trailing start 60 and trailing stop 50, trailing step 10
-
https://fxdreema.com/shared/YVHxz68Ob
Above my EA link, please make a look that it is correct as per our requirement what I was asked -
@Suraj0544 Pink blocks are right, put manual trades in break even and trailing, and, since you want to trail 10 pips SL AFTER break even, you MUST put the trailing start at 60 pips (50 pips of break even + 10)

-
thanks a lot boss
-
FURTHER 1 PROBLEM NEED TO SOLVE BOSS----------
Issue for new project
1-- how I will find candle volume in mt5. I Have to make ea on candle volume.(CANDLE ID 2 crossabove 9 EMA and candle id 1 close above id 2 close and candle id 1 volume should be greater than id 2 volume-------buy viceversa for sell2--second query is that If I want to operate algo trading by android mobile means algo trading off/on can do by mobile, is it possible or not. suppose I make ea and linked with real account in mt4/5 and algo trading is on through laptop and ea working and if profit is done for that day and I have to off my algo then I can off my algo by mobile or not.