- Search Crypto Craft
-
Beerrun replied Mar 27, 2019You would have to be more specific and actually show your code, this is only part of it.
I will code your EAs and Indicators for no charge
-
Beerrun replied Mar 26, 2019Yes i did that and it ran as an indicator. I didnt try as an ea. Edit: No problem, one beer for me and one for you

Convert MQ4 to EX4
-
Beerrun replied Mar 26, 2019You can call deinit() and init(). The methods you linked do this as well.
I will code your EAs and Indicators for no charge
-
Beerrun replied Mar 26, 2019My bad, change the first line from lastbar=0 to lastbar=Time[0]
I will code your EAs and Indicators for no charge
-
Beerrun replied Mar 25, 2019No problem buddy but I just cleaned it up, didn’t do much fixing, so I worry you might run into issues eventually.
Open: Button, Close: MA Cross
-
Beerrun replied Mar 25, 2019But if you add cheese it eliminates a lot of noise

I will code your EAs and Indicators for no charge
-
Beerrun replied Mar 23, 2019I dont know why you have the checktoclose function as well as the switch in your start. But I cleaned it up as best I can. Count loops down starting from the total and finishing at 0.
Open: Button, Close: MA Cross
-
Beerrun replied Mar 23, 2019Maybe this will work datetime lastbar=0; int start(){ for(int i=Bars-IndicatorCounted()-1;i>=0;i--){ Close_0=Close[i]; Open_0=Open[i]; Open_1=Open[i+1]; Close_1=Close[i+1]; Open_2=Open[i+2]; Close_2=Close[i+2]; // some logic BuyEvent=True; // some ...
I will code your EAs and Indicators for no charge
-
Beerrun replied Mar 23, 2019Could you be more specific about what doesn’t work?
Open: Button, Close: MA Cross
-
Beerrun replied Mar 22, 2019Try this out my dude
Im not sure it does everything you want but close.I will code your EAs and Indicators for no charge
-
Beerrun replied Mar 21, 2019This would all be done inside an EA. Scripts also unload themselves once they are finished running their code one time. The EA would check price vs your objects on every tick and if they match then it would send the order.
How can I write multiple drag & drop pending orders for MT4?
-
Beerrun replied Mar 21, 2019No it doesn’t matter where on the chart you drop it, you can also just double click the file and it will apply to the selected chart. You wouldn’t do it as a script, you’d have to make an indicator if you wanted multiple. Even better, you could make ...
How can I write multiple drag & drop pending orders for MT4?
-
Beerrun replied Mar 21, 2019Yes only one script is allowed per chart. You can totally code this, it shouldn’t take much. I do not however know of any templates. You’d just have all your prices, pips, distances, times, etc set in your indicator files and the include file is ...
How can I write multiple drag & drop pending orders for MT4?
-
Beerrun replied Mar 21, 2019This can be done with scripts but the time decay would require a loop for the script, making the script take over the chart. I think it would work best as an indicator, or multiple (one for each setup) that uses a single include file for your order ...
How can I write multiple drag & drop pending orders for MT4?
-
Beerrun replied Mar 19, 2019Should be if(calc) Alert(calc);
I will code your EAs and Indicators for no charge
-
Beerrun replied Mar 18, 2019You can play whatever sounds you want for an alert as long as it’s programmed and in the correct file.
All Candlestick Patterns Recognition & Ichimoku elements cross