- Search Crypto Craft
-
Beerrun replied Apr 17, 2020Something like this. I don't have open orders to test but it should work okay. You can move the line and get different profit values. The horizontal line and label should change colours based on profit at that level. Use input width=zero for current ...
Please help me to get my Profit estimator working
-
Beerrun replied Apr 17, 2020I am glad you are learning and proud of it too
You're doing great, take a break! Can't be incompetent since you've made it this far and learned a lot. You can copy the whole function and paste into the global space of the page, so just not ...Please help me to get my Profit estimator working
-
Beerrun replied Apr 17, 2020Something like this: double profit(){ double x=0; for(int i=OrdersTotal()-1;i>=0;i—) if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)x+=OrderProfit(); return x;} edit:sorry just noticed you wanted for an arbitrary level. Something similar to this then: ...
Please help me to get my Profit estimator working
-
Beerrun replied Apr 15, 2020I’m glad you found a way that works for you
Slippage of 3 is my pick out of those options. Works great. Change High[x1] to iHigh(NULL,60,x1) for hardcoded H1 mtfI will code your EAs and Indicators for no charge
-
Beerrun replied Apr 14, 2020Something like this: int range=81,highestIndex; double highestPrice=0; for(int i=1;i<range;i++)if(High[i]>highestPrice){highestPrice=High[i];highestIndex=i;}
I will code your EAs and Indicators for no charge
-
Beerrun replied Apr 14, 2020Save the ticket numbers into an array. Use index 0 for the main ticket and add the rebuys after that, remembering to resize the array. Then when you want to close orders you can loop through the array and resize it when you delete.
I will code your EAs and Indicators for no charge
-
Beerrun replied Apr 13, 2020Yes they are. It means code is missing, a whole class. Maybe he uploaded the wrong file by accident, it could happen haha
I will code your EAs and Indicators for no charge
-
Beerrun replied Apr 13, 2020How does it run on your terminal with all the compiler errors about a missing class...
I will code your EAs and Indicators for no charge
-
Beerrun replied Apr 13, 2020It depends on the outcome you intend. Are you trying to place a buystop order (pending order) after the price has gotten to your limit value? Then use BUYSTOP or another pending order. Or are you wanting to place a market order (open now) when price ...
I will code your EAs and Indicators for no charge
-
Beerrun replied Apr 12, 2020I don’t know your location or broker preference, and I am not supporting this broker, however, you can open an Oanda account for $0, as well as, trade lotsizes of a single unit 0.000001 through their api or platform.
MarginTrader EA
-
Beerrun replied Apr 10, 2020If you do not delete the object in OnDeinit(const int re) then it should not be changed on the chart. I do not know if that is the case when creating it through the standard library class. OBJ_HLINE draws a continual horizontal line across the ...
Need a sample code
-
Beerrun replied Apr 10, 2020Thanks buddy, I appreciate your more experienced and elegant points. The return 0 was a typo from converting from start() to OnCalculate. I'm too habitual with start() and time dependent checks as opposed to simpler rates_total vs prev_calculated, ...
Need a sample code
-
Beerrun replied Apr 10, 2020He asked for an example... You are correct though... #property strict #property indicator_chart_window #define suffix "BarCloseLine" int OnCalculate(const int rates_total,const int prev_calculated,const datetime &time[],const double &open[],const ...
Need a sample code
-
Beerrun replied Apr 10, 2020Something like this: #property strict #property indicator_chart_window #define suffix "BarCloseLine" int start(){ static datetime newbar=iTime(NULL,0,0); if(newbar>=Time[0])return 0; newbar=Time[0]; ...
Need a sample code
-
Beerrun replied Apr 9, 2020Please try these, i have not tested
I will code your EAs and Indicators for no charge
-
Beerrun replied Apr 9, 2020I replied to your thread. The code is decompiled. And PriceBorder code calls its own EA or self in iCustom.
I will code your EAs and Indicators for no charge
-
Beerrun replied Apr 9, 2020Only one of them, SemaforAlert, is not stolen, decompiled code. Also the ram heaviness is probably due to the PriceBorder code calling its own EA or self through iCustom url Gs_148 = WindowExpertName(); ... Gda_132[Li_4] = iCustom(NULL, Gi_164, ...
Renko channel - very accurate (assembled by me)
-
Beerrun replied Apr 9, 2020I'm trying my best, been working on it every day this week. An update: currently implemented (not yet posted) are ~170 of MQL4 functions, including every i-indicator (excluding OnArray variants), account functions, chart/window functions, ...
StackMe!
-
Beerrun replied Apr 8, 2020No I agree with you and you are getting it exactly correct: i came up with the solution in response to a problem I see, not the other way around. So the benefits of completing this can be very big. Honestly I see no reason why, if implemented ...
StackMe!
-
Beerrun replied Apr 7, 2020Unmatched data error is a problem with your own data, not the indicator. Try deleting and redownloading your symbol data.
I will code your EAs and Indicators for no charge