Hi i have problem with grid and trailing stop. can you help me? add image of problem. thank uoi

......
gridproblem.jpg
project.jpg
Hi i have problem with grid and trailing stop. can you help me? add image of problem. thank uoi

......
gridproblem.jpg
project.jpg
Ok. But you can help me to resolve?
hi after insert new line with #property strict, my expert advisor give me 7 errors and 118 warnings. can you check?
i attack file.mql4
hi i test the time filter. i understood that the first part was set the start of timer (and the ea start work) and the second part set the stop of timer (and the ea stop work). i set as the screenshot posted below, but the ea continues to work. where wrong?
thank you
......
timefilter.jpg
it's happend again, i saw in diary mt4 and there is an error of connect faild, it's no possible, the mt4 is on vps, i think that happend because it's a demo account.
is possibile a block timer that start ea on monday 00.00 and stop it at friday at 22,59, restart monday 00.00 and re-stop friday at 22.59, every week ??? thank you
ok.I wait for it to happen again and control the metatrader4 if it reports some error. thank you so much
the ea works well in demo. the block "pips away from open price" is skipped when at opening market there is a big gap "over the 25 pips setting" and the ea blocks and not open new trade. is possible set a block (only sunday at opening market) that check if the difference between the price of lastest trade open and the price current is major of 25 pips and consequently open new trade to continue the gride?
the problem is when the market opening with a gap higher 25 pips
excuse me, you are right
. the ea works opening trade when then price go against 25 pips. the image show you that the price goes is over 25 pips (about 130) and the ea not open new trade.
......
ea.jpg