Snowball - Remove Stop Loss from EA 3 replies
Renko-Snowball 88 replies
Snowball Scalping 3k = 50K 4 replies
Grid, Burst Grid, Grid Risk and Grid Profit 1 reply
Snowball EA configuration 2 replies
Dislikedthe function stop() is called everytime it stops (due to TP, stop-button or stop line). to start it again you have to call go(). if you want it only on auto-tp then you have to find the function where it checks the autotp and thencalls stop(). Simply call go(LONG) or go(SHORT) or go(BIDIR) or store the last directon in a temporary variable:
last_dir = direction;
stop();
go(last_dir);
What errors are you getting? Errors usually come with a text that tells you exactly what it could not find or what else went wrong.Ignored
DislikedI just discovered this via 7bit's home page because of Python and R integration. My gosh. Nice! It doesn't seem to want to work with MBTrading in BIDIR mode but a single direction works.
In order to "remote control" it, I think I'll be updating checkLines() to check for "stop long" and "stop short" so I can control how far it attempts to catch the correct direction.
I am also considering adding max levels and a way to skip adding an order if criteria aren't met. No need to keep trying to go long when it's in a clear down trend. I'd also...Ignored
if (crossedLine("stop short")){ stop(); } if (crossedLine("stop long")){ stop(); }
level = getNumOpenOrders(OP_BUY, magic) - getNumOpenOrders(OP_SELL, magic);
level = (getHighestPositionPrice(OP_BUY, magic) - getLowestPositionPrice(OP_SELL, magic)) / stop_distance * points_per_pip;
getNumOpenOrders(OP_SELLSTOP, magic)
DislikedAny ideas? I turned the EA on a few hours ago.
Edit: I got it working. I think the lot size amount was below my broker's minimumIgnored