- Search Crypto Craft
-
Beerrun replied Sep 26, 2019It would help you to add error checking and print statements. Do you have any errors in the experts tab of your terminal?
Help to debug my EA
-
Beerrun replied Sep 23, 2019Okay I will look into it
Can someone check and test this Trade Manager EA for me?
-
Beerrun replied Sep 23, 2019It probably is due to BETS being limited to the chart symbol its loaded onto, but I can add an option for that. Is it at least opening your trades and applying a stoploss to the chart symbol?
Can someone check and test this Trade Manager EA for me?
-
Beerrun replied Sep 23, 2019It’s decompiled file. Most likely it is the limited free version of a full EA, hence the buys only. Either way mqlprotector.com is confirmed broken.
I will code your EAs and Indicators for no charge
-
Beerrun replied Sep 23, 2019Just curious, why not use if(sellticket==-1), would this give the same problem? Also why use if(!sellticket), which is the same as if(sellticket!=1)? It might cause problems with the tickets in the tester which start at 1.
Very Specific Question re: Order Error Checking in MT4
-
Beerrun replied Sep 21, 2019I don't know why IndicatorCounted() would return a negative bar count. I think it would beif(counted_bars<=0)return 0; I also add in if(IndicatorCounted()==0)return 0; other places to prevent code from running during the initial lookback.
Erroneous drawings on chart, but works fine onload?
-
Multi S&R
Started Sep 19, 2019|Platform Tech|11 replies
It's called Multi S&R because it has multiple indicator choices, can be used on multiple time ...
-
Beerrun replied Sep 19, 2019Usually this error situation means the values provided by MT4 have not been fully loaded or initialized. An example is when code has fully run through all bars from the first OnTick but IndicatorCounted() still equals 0 on the next OnTick. I ...
Erroneous drawings on chart, but works fine onload?
-
Beerrun replied Sep 16, 2019I edited and re-uploaded. See if that works.
need EA to open order on new candle
-
Beerrun replied Sep 16, 2019The correct way to normalize your lot size is: double minlot=MarketInfo(MODE_MINLOT), lotstep=MarketInfo(MODE_LOTSTEP); if(lotsize<=minlot)lotsize=minlot; else lotsize=minlot+floor((lotsize-minlot)/lotstep)*lotstep); Alternatively you can use ceil() ...
I will code your EAs and Indicators for no charge
-
Beerrun replied Sep 16, 2019It definitely can be done. Gave an option for All orders, or just this symbol. Place in your experts folder.
need EA to open order on new candle
-
Beerrun replied Sep 14, 2019Add in: ArrayInitialize(madaily,0); after your array declaration.
MQL4 Programming
-
Beerrun replied Sep 13, 2019I converted BETS to a script, as well as an include file. And then also imported it into your script. Let me know if any errors. Edit: re-uploaded, Sticky input added, preventing script removal from chart.
Can someone check and test this Trade Manager EA for me?
-
Beerrun replied Jul 14, 2019Try something like this, just make a new bar check and set it for the daily timeframe. When CloseAll() is called then the newbar is set, no bool variable needed. It won't allow the rest of the code to run until a new D1 bar opens. int start(){ ...
How to stop trading for rest of the day if xxx profit reach
-
Beerrun replied Jul 5, 2019Its not my EA, i just removed the broker and microEURUSD lock. Error 130 is invalid stoploss, needs to be changed to: round(Stoploss/_Point)*_Point
I will code your EAs and Indicators for no charge
-
Beerrun replied Jul 5, 2019Not refreshing data while in a loop is one possible way.
I will code your EAs and Indicators for no charge
-
Beerrun replied Jul 4, 2019Updated file, some logic errors removed.
Can someone check and test this Trade Manager EA for me?
-
Beerrun replied Jul 4, 2019Maybe dumb questions but: Is your live free margin less than 1000? Code says if (free-margin/1000)*(input lot size) is less than minimum lot, to not send orders. Did you remember to change the input for Max Open trades when you placed it on live? In ...
FXpro quant doesn't open live trades
-
Beerrun replied Jul 4, 2019Do you get any errors in the experts tab or in the log?
FXpro quant doesn't open live trades