this is driving me crazy
-
need some advice on this
so here is what i am trying to do .Buy:
let say once condition 1 is true and condition 2 is true and condition 3 is true.
it opens up a buy , now if the buy gets in to the profit before condition 4, 5, and 6 becomes true then well and good .
but if the buy trade turns against us before condition 4 , 5, 6 becomes true , then open a sell on each candle as long as the condition 4 ,5, 6 is true and after that when condition 1,2,3 becomes true start opening buy trades on every candle so on and so forth. (i am planning to average them out )Sell:
once condition 4 is true and condition 5 is true and condition 6 is true.
it opens a sell, now if the sell gets in to the profit before condition 1, 2, and 3 becomes true then well and good .
but if the sell trade turns against us before condition 1, 2, 3 becomes true , then open a Buy on every candle as long as the condition 1, 2, 3 is true and after that when condition 4,5,6 becomes true start opening sell trades on every candle so on and so forth. (i am planning to average them out ) -
@zackry This will need some AND-blocks lol

Let's clear up some things first:
but if the buy trade turns against us before condition 4 , 5, 6 becomes true , then open a sell on each candle as long as the condition 4 ,5, 6 is true
- So the EA needs to check that buy trade is losing and 4,5,6 are false, REMEMBER that situation, and act when 4,5,6 become true.
But every buy trade starts in loss because of the spread. So this "condition" will always be true, wouldn't it? - 1,2,3 and 4,5,6 are mirrored condition? So 1 and 2 will never be true at the same time?
- So the EA needs to check that buy trade is losing and 4,5,6 are false, REMEMBER that situation, and act when 4,5,6 become true.
-
@roar sorry roar there were 2 mistakes in this post i have used the strikethrough on the mistakes so you can see , and modified it to the correct logic.
need some advice on this
so here is what i am trying to do .Buy:
let say once condition 1 is true and condition 2 is true and condition 3 is true.
it opens up a buy , now if the buy gets in to the profit before condition 4, 5, and 6 becomes true then well and good .
but if the buy trade turns against usand when the condition 4 , 5, 6 becomes true , then open a sell on each candle as long as the condition 4 ,5, 6 is true and after that when condition 1,2,3 becomes true start opening buy trades on every candle so on and so forth. (i am planning to average them out )beforeSell:
once condition 4 is true and condition 5 is true and condition 6 is true.
it opens a sell, now if the sell gets in to the profit before condition 1, 2, and 3 becomes true then well and good .
but if the sell trade turns against usand when the condition 1, 2, 3 becomes true , then open a Buy on every candle as long as the condition 1, 2, 3 is true and after that when condition 4,5,6 becomes true start opening sell trades on every candle so on and so forth. (i am planning to average them out )before -
I assume that normally the EA only trades 1 trade a time
-
https://fxdreema.com/shared/1mJlTAsXb
This is probably lacking some logic, but lets work from there.
How does this differ from your logic?

-
@roar Thanks Bro, gonna give it try and then update here