2 type MACD
-
hey guys...
my strategy contain of 2 type of MACD
one of them is long term, and the second one is short termi want to tell when MACD1 condition was true go and chek MACD2 condition and try to buy or sell
but it didnt work when both of them are not true at the same candle ID
i think i should use variables...
but dont know howcan you help?
-
if you use crossovers for both conditions, it is almost impossible that they happens at the same bar. Try to have one condition with > and the other with x>, and then switch the conditions. The opposite for sell. So 4 combinations in total.
It should do the trick. -
@Alex81 the reason of crossover for long or short MACD is because i just to buy or sell just once at this condition not more...just when long macd turn red from green then short macd turn green from red just when it first happen...can you please share a link?
-
Honestly I didn't understand the logic of your entries... but a double crossover is almost impossible to happens.
-
@massoudsl Alex81 is right. You are requiring both MACD conditions to be true at the exact same time when you need them to be true at different moments in time. You will need variables to control that.
-
@l-andorrà can you please share me a link? i really need it bro...