close trade when candle is formed
-
Hi everybody, is there the possibility to close a trade just after a bar is formed?
Thank -
@gofore What do you exactly mean by 'formed'? Opened or closed?
-
Hi, i mean closed.
-
@gofore No. The only way to do it is at the opening proce of the next candle.
-
Ok l'andorrà. Can i ask you something? Can you please help me? i did try so many time but there something i should know. i would like that the EA place a buy pending order and it does. But i'd like to to set the stop on the bottom of the channel of my indicator (as it is in the project). And modify the stop one "per bar" on the lever of the same indicator (as it is in the project). Can you help me please? thanks in advance.
0_1605753385206_DonchianChannels.mq4
https://fxdreema.com/shared/RejhZXEpe -
Ok l'andorrà. Can i ask you something? Can you please help me? i did try so many time but there something i should know. i would like that the EA place a buy pending order and it does. But i'd like to to set the stop on the bottom of the channel of my indicator (as it is in the project). And modify the stop "once per bar" on the lever of the same indicator (as it is in the project). Can you help me please? thanks in advance.
https://fxdreema.com/shared/RejhZXEpe
0_1605753625232_DonchianChannels.mq4 -
@l-andorrà Can you please give to me an exaple?
-
@gofore Ok. I will help you. Fisrt things first. Can you please explain your strategy?
-
Basicly i'd like to keep trades go in the dochian channel 2 or 3 bars count.
-
@l-andorrà -first steps-(daily time frame) i'd like to place an order like 6 pips above the red line dochian.
-
@l-andorrà I think i change idea. I'm studying this indicator:
0_1605808780354_3_Level_ZZ_Semafor.mq4

The basic idea should be to place a buy order (o a grid of buy orders) above the number 3 (support) when is visible.
i'm interest only in buy trades for the moment because my intention is to run two separate EA, one for buy and another for sell. But let begun with buy. -
@l-andorrà Because as you can see the number 3 appear and get stable in the alternate way (bottom and top).

-
@l-andorrà Hi, i'm studying With this:
https://fxdreema.com/shared/zhnYr5ZA -
@l-andorrà the idea is to see how the indicator semafor repaint
-
@gofore Before moving on you need to be completely sure those numbers are not repainted. Otherwise the whole strategy will be doomed. Can you please confirm no numer is repainted as price moves on?
-
@l-andorrà Im studying it, i will send a picture of the graphyc starting from January 2020. the test in going on, probably i will have something for next sunday afternoon or next monday
-
@l-andorrà Since now i have this little trend. i stopped running it because it will be not clear for te next downtrend. In azur is the trend that i realized. Red lines are where the points reds repaninted, pink is for pink points. Red lines has the id 0, pink lines 1. I'll see with vertical lines referred to times.
-
@l-andorrà

maybe there will be something interesting. -
@gofore I don't want to be pessimistic, but I do not recommend you to study it in backtest. Do it in real market conditios with a 1 minute chart for some time. That is the most efficient way to check it out.
-
@l-andorrà ok