Binary-bot: Bot freezes

Created on 26 Sep 2019  路  6Comments  路  Source: binary-com/binary-bot

Can anyone check why this bot freezes? It also gives "Unknown contract proposal" error for some unknown reason. Anybody's help is much appreciated.. Thanks

touch.zip

strategy

Most helpful comment

@Eshhh
if SMA14==SMA26, both if and elseif statements will fail. then the whole thing will crash
add else statement for example if sma14==sma26, x =random(1,2)
if(x=even TREND UP, if odd TREND DOWN)
it will be rare that SMA14==SMA26 so just taking random trade will not happen too often
hower when it happens that they are the same and you have no else statement, then you will be screwed. Good luck

Unbenannt

All 6 comments

@Eshhh when is it freezing? any particular times / after certain functions? I just ran it and it was placing trades okay, but perhaps it is happening after a certain function. Thanks!

@Eshhh
if SMA14==SMA26, both if and elseif statements will fail. then the whole thing will crash
add else statement for example if sma14==sma26, x =random(1,2)
if(x=even TREND UP, if odd TREND DOWN)
it will be rare that SMA14==SMA26 so just taking random trade will not happen too often
hower when it happens that they are the same and you have no else statement, then you will be screwed. Good luck

Unbenannt

Hey @ceakuk , Thanks for your reply. I have added the codes as you said as shown below, but the bot still freezes. Ive included even the condition "If sma6==sma14" in block2, but still no change. Have i done it correctly? I think the bot stops when the smas crossover. Please advice thanks.

@wilburforce83 thanks for your reply, the bot stops just randomly, no particular time, i think it stop when the smas crossover.

image

image

@Eshhh I would just go back to your original code and change one of the === to <= or >= it's not ideal but it is a limitation of the blockly system. I think I gave up in the end with this particular problem and made 2 XML files:

Call XML
Put XML

And ran them side by side.

@wilburforce83 i got around the problem by introducing NOTOUCH to the original code like shown below, but its not the original strategy and it could hurt the money management, still testing.

image

did fixed it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aggregator01 picture aggregator01  路  3Comments

bkan-jp picture bkan-jp  路  5Comments

csajkas picture csajkas  路  7Comments

islamrefaey2019 picture islamrefaey2019  路  5Comments

drezende89 picture drezende89  路  3Comments