- Search Crypto Craft
- 1,856 Results (15 Threads, 1,841 Replies)
- Gumrai replied Sep 11, 2013
If you only want your EA to execute a single trade before being re-set. Declare a global-scope variable before init() Maybe something like bool TradeDone; in init() TradeDone = false; in start() add the condition if(TradeDone == false) if(OrderSend( ...
Stopping EA without reset
- Gumrai replied Sep 8, 2013
Try to imagine if you were a coder with limited time, but still willing to help others and you see 2 posts. 1st post is yours "anyone can help me to modify/build my custom indicator?" Coder thinks "What custom indicator?" You expect him to search ...
I will code your EAs and Indicators for no charge
- Gumrai replied Sep 8, 2013
Make up your mind what code you want to post and then somebody may be able to help you. Your first post had NewBar() function that was not accessed, in your 2nd post it is. Same goes for doAlert(). Your first post's code accessed a DisplayAlert() ...
Help about arrow name query
- Gumrai replied Sep 8, 2013
Why do you have so much of the code that is not accessed? #property indicator_chart_window static datetime lastAlertTime; // //------------------------------------------------------------------ int init() { return(0); } int deinit() { return(0); } ...
Help about arrow name query
- Gumrai replied Sep 7, 2013
Well said
I feel the same way and I am sure that many posters here are like minded. Hanover keeps saying that he will be taking a break from the forum, yet he still keeps coming back to help people out. There will be a time when he has ...Sessions Indicator
- Gumrai replied Sep 7, 2013
This thread is a case in point url zelenko is probably stiull wondering why CWN723 has not responded to his request/(demand)
Sessions Indicator
- Gumrai replied Sep 7, 2013
It amazes me how many people expect everything for free and do not realise that a simple "Thank-you" is accepted as the minimum payment.
Sessions Indicator
- Gumrai replied Sep 7, 2013
2 lines of text in Hanover's post and yet you seemed to have missed "That's as far as I'm willing to take these indicators, at least for now.
Sessions Indicator
- Gumrai replied Sep 6, 2013
url will allow you to change the templates in a profile, so can remove all indicators that way. (use a template with no indicators)
Script which upon execution, removes all scripts?
- Gumrai replied Sep 5, 2013
To whom was your query aimed. If you were asking the OP, you cannot expect an answer as he has no longer visits this forum
I will code your EAs and Indicators for no charge
- Gumrai replied Sep 3, 2013
No worries Mmaker, only took 5 minutes. BTW, I should mention that the timing is your broker's time, so if your day's trading session crosses your broker's midnight, it will only count the trades after midnight. It would need modifying if you want ...
Counting how many open trades there are...?
- Gumrai replied Sep 3, 2013
This bit of code should only count closed market orders, so ignore pending orders that didn't trigger datetime daystart = TimeCurrent() - (TimeCurrent()%(PERIOD_D1 * 60)); datetime dayend = daystart + (PERIOD_D1 * 60); int count=0; for(int ...
Counting how many open trades there are...?
- Gumrai replied Sep 2, 2013
Possibbly, this may work with your existing code, but not sure ObjectSetText ( "fpm_short",DoubleToStr ( countOrders ( OP_SELL,allSymbols ),0 ) ); ObjectSetText ( "fpm_long",DoubleToStr ( countOrders ( OP_BUY,allSymbols ),0 ) ); int countOrders ( ...
Counting how many open trades there are...?
- Gumrai replied Sep 2, 2013
This should give you the total of all trades closed today. You would have to add extra code if you wanted to filter symbol or types of trade datetime daystart = TimeCurrent() - (TimeCurrent()%(PERIOD_D1 * 60)); datetime dayend = daystart + ...
Counting how many open trades there are...?
- Gumrai replied Sep 2, 2013
Thanks for your kind words Xandi, at this time, I juast want to take a back seat. chjungen is more than capable to take your EA to the next level

Change "Open Order TP(target)" if other pending order triggered
- Gumrai replied Sep 2, 2013
A couple of weeks back, I had an incident while working in my garden. I believe that I was bitten/stung by a scorpion or one of Thailand's giant centipedes. image Whatever happened, I had an extremely violent reaction including convulsions and ...
Change "Open Order TP(target)" if other pending order triggered
- Gumrai replied Sep 1, 2013
I don't think that is what you want from your image. I think that you want an alert when Open, High, Low and Close are all above/below the trendline.
Need help- alert when trend line crosses price line
- Gumrai replied Aug 31, 2013
CFDs are Contracts for difference. When you close the position, the difference is either profit or loss. That is the time when your $ P/L is converted to Euros. Some brokers close CFD positions every day and open new position at the same price. In ...
CFD quotation and account base currency question
- Gumrai replied Aug 28, 2013
It depends what time-frame you are testing, but you need to make sure that you have the minute chart history for the period that you are testing.You would probably need more precise history if trading 5 minute charts. I understand that you can ...
EA test results
- Gumrai replied Aug 28, 2013
Modelling quality of 50% means that these results cannot be relied on.
EA test results