EAの設定方法。注文を閉じた後に開けない
22 replies
こんにちは
THE FIRST .
I have build E.A with condition that , when it attach to MT4 it open order automatically , I have build 2 E.A with one is buy
only and the second is sell only , so when attach in mt4 one of that, it open order automatically with o ready set TP & SL .
The problem I have is that : when E.A close the order it open order again and again until to come to remove E.A .
I want to help , when E.A close the order should not open the order unless I attach again to the MT4 .
AND SECOND ,
I want to help how to hide stop loss pips and take profit pips from broker.
I have attach my working here.
ありがとう。.
0
こんにちは,
I have modified your example. You need to add a variable which after a trade is initiated will be set to 1. Trade is only opened if this variable is set to its original value (=0). The variable remains set to 1 until the EA is removed and applied to a chart again.
I have also included the hidden stop functionality where the stop-loss exit is determined when a position is having open loss greater than 20 pips.
0
こんにちは
many many thanks , I really appreciate your help
0
こんにちは
I have build another E.A , and when I try to add variable of ”order already placed = 0” it fail to activate this variable, the main problems is
that ; when E.A open the order and close, it open order again, so I want to set , when E.A open the order and close, should not open the
order again unless I set again to open order. I need your help , like the above example was show me . I attach my working progress here,
I need your help to finish this project .
ありがとう
0
こんにちは,
sure, I will check your project and let you know
0
HELLO
OK, Am waiting for your reply .
ありがとう
0
こんにちは
Am still waiting your reply .
Thanks .
0
こんにちは,
you can simply add the variable “order already placed = 0″ into the trading conditions. Have a look at the project attached
0
こんにちは
Thanks for your reply , but when I attach to MT4 it not open any order . Can yo know what the problems it faces.
ありがとう。.
0
こんにちは,
the problem seems to be with the first tab – Open PL In Money > Number.
When you attach the EA to a clean chart this condition will never be valid so EA won’t place any trades at all.
I can create an example you need but you need to provide enough details for me to complete it
0
HELLO
I set in first tab of Open PL In Money > Number because I will open order manual and when profit reaches dollar 0.8 , the E.A will open the order in the next
candle with the same position .
ok , thanks
0
こんにちは
I have o ready explain above , what i need to be this E.A.
Am waiting your example to finish this project.
0
こんにちは,
ok, this will trade only once with your existing long/short position
0
HELLO
I try to attached it open the order but it not close the order , and when i try to remove hide SL & PT and put SL & PT it open and
suddenly it close and when it open , it doesn’t show in a chart SL & PT.
I have attach here. So how this it be difficult E.A.
0