Probability EA
-
Hello! I wanna create a EA that count the last 10 candles, and if 8 of them 10 candles be bull, buys... If 8 of them 10 candles be bear, sells... Thanks for all who help!
-
I would suggest a loop for “n” times to test the last “n” candles on the open price vs close price. something like
for n=0 until n=10; n++
if open price > close price
bull++
else if open price>close price
bear ++
return bull and bear.Hope that makes sense....
-
Thanks for reply! I don't know make loop, how can I do that?
-
@albertomtferreira That is an interesting custom code to do. Can you please share it?
-
@l-andorrà Let me see if I have some spare time during the weekend and I can try to draft something. At the moment I'm a bit busy fighting to build my own EA.
I will let you know if I can achieve anything. -
@provinccigomes If I will have some spare time during the weekend I will try to draft something and share it with you.
-
@albertomtferreira Thanks!!
-
I think that I’ve managed to make something. Have a look and let me know if was what you were looking for.
-
@albertomtferreira I do not need this but, just wanted to compliment you on a very neatly done and efficient code.. Excellent work .. Thank you
-
@albertomtferreira Impressive! Thank you for sharing.