- Search Crypto Craft
- 1,856 Results (15 Threads, 1,841 Replies)
- Gumrai replied Aug 27, 2013
I've thrown this together and you may be able to use or adapt some of it to what you want. Obviously, if you used this sort of thing in strategy tester, the time would only be accurate to the smallest timeframe used. //--- input parameters extern ...
News Trading Script?
- Gumrai replied Aug 26, 2013
For the 4th Monday in the month, I would think that you would check if today is Monday and then check the date. If the date is >=1 && <8 it is the 1st Monday. if >=8 && smaller than 15 it's the 2nd Monday if >=15 && <22 3rd Monday >=22 && <29 4th ...
News Trading Script?
- Gumrai replied Aug 25, 2013
Hi chjungen, I've not been able to do much coding lately as my brain seems to be having a problem with concentration. Attached is the mq4, you may like to look through it and see where improvements need to be made. It still needs work for checking ...
Change "Open Order TP(target)" if other pending order triggered
- Gumrai replied Aug 23, 2013
Thank-you. I had heard of that before, but was under the impression that it was no longer available. Obviously, the wrong impression

EA for timing required
- Gumrai replied Aug 23, 2013
Apart from using a message box or moving an object, I don't know of any way that a user can input to an EA while the program is running. If you have found a way, please share

EA for timing required
- Gumrai replied Aug 22, 2013
Thankyou FerruFx. Zelenko obviously doesn't realise that there are nice ways to make requests and other ways, such as in his post#5 "it works fine but there is a small problem when i modify the parameter the old signs remain as it is and not ...
I need an indicator for this case
- Gumrai replied Aug 22, 2013
I haven't worked completely through all your code, so I may be wrong and missing something. I think that you have not set it to work with 5 digit brokers if(OrderOpenPrice()-Ask>=Breakeven*Point && OrderStopLoss()>OrderOpenPrice()) ...
I will code your EAs and Indicators for no charge
- Gumrai replied Aug 22, 2013
You might consider brushing up on your people's skills. When somebody does a favour for you, show that you are grateful and if you find that you need modifications, ask politely and with respect.
I need an indicator for this case
- Gumrai replied Aug 22, 2013
Paste candle time remaining into the search box, there are plenty
Need time to next bar for MT5
- Gumrai replied Aug 18, 2013
No, you have to open the pending buy order first and then click on no when you get the "Should this be treated as Master?"
Change "Open Order TP(target)" if other pending order triggered
- Gumrai replied Aug 17, 2013
The way I see it, no. I believe that correlation in forex should only be noted for assessing risk. Eg. if a strategy indicates taking a long position on both EURUSD and GBPUSD, you may consider reducing position size, if entering both trades.This is ...
Xandi mysterious Pyramid
- Gumrai replied Aug 17, 2013
After such a nice post, I am sorry to disagree with you
If you trade long audusd and long usdjpy. It boils down to that you are just trading long AUDJPY, but paying more spread because of the 2 positions.Xandi mysterious Pyramid
- Gumrai replied Aug 17, 2013
Hedging has its place Xandi, but not the way that most people on this forum approach it. Hedging is supposed to reduce risk and the normal way is to take a position on a derivative, ie a different instrument, such as an option. Most people consider ...
Xandi mysterious Pyramid
- Gumrai replied Aug 17, 2013
I don't understand why you are creating objects in deinit() Is this really how you write code? int deinit() { for(i=1; i<=5; i++) { ObjectCreate("Symblo_Test",OBJ_LABEL,0,0,0); } ObjectDelete("Symblo_Test"); return(0); } if you don't have { } lining ...
Symbol price indicator (Dashboard)
- Gumrai replied Aug 16, 2013
Xandi, please ignore "Tester" and leave it at false. It is only used when testing in the strategy tester.
Change "Open Order TP(target)" if other pending order triggered
- Gumrai replied Aug 16, 2013
You have to think what do these do? { } if((iVolume(NULL, 0, 2) < (iVolume(NULL, 0, iLowest(NULL, 0, MODE_VOLUME, mNoBars, 3)))) && (iClose(NULL, 0, 2) < iOpen(NULL, 0, 2)) && (iClose(NULL, 0, 1) > iHigh(NULL, 0, 2))) mStoredTime = Time[0]; ...
Bug in Indi? Please help
- Gumrai replied Aug 16, 2013
Not totally sure when reading other people's code, but I think that this may be something wrong. if((iVolume(NULL, 0, 2) < (iVolume(NULL, 0, iLowest(NULL, 0, MODE_VOLUME, mNoBars, 3)))) && (iClose(NULL, 0, 2) < iOpen(NULL, 0, 2)) && (iClose(NULL, 0, ...
Bug in Indi? Please help
- Gumrai replied Aug 16, 2013
I forgot Xandi, Tester should be set to false. Its only purpose is to open a trade so that settings can be tested in the MT4 strategy tester
Change "Open Order TP(target)" if other pending order triggered
- Gumrai replied Aug 16, 2013
I believe that I have found an anomaly. There was a problem that if you just changed some of the settings in the EA for a new set of trades that it would keep the MasterTicket from a previous set of trades and that could affect its operation. ...
Change "Open Order TP(target)" if other pending order triggered