- Search Metals Mine
- 1,856 Results (15 Threads, 1,841 Replies)
- Gumrai replied Feb 21, 2016
As I said, I had not tested the code. I had quickly put it together to give you an example of looping through the orders. I have looked at the code again and revised it as I made a couple of sloppy mistakes. int slippage=10; double ...
How to close by order sequence?
- Gumrai replied Feb 20, 2016
Hello, strange as the inputs Use1 and Use2 are not used! This should only close those trades of the chart symbol. Not tested
Help adding to indicator
- Gumrai replied Feb 20, 2016
No, it is my modification of the code that you posted. I didn't change the author details as it is not totally my code.
Help adding to indicator
- Gumrai replied Feb 20, 2016
Not tested. Something like this should work int slippage=10; double minimum_profit=5.00; int x; double trades[][4]; int total=OrdersTotal(); ArrayResize(trades,total); for(x=total-1;x>=0;x--) { if(OrderSelect(x,SELECT_BY_POS,MODE_TRADES)) { ...
How to close by order sequence?
- Gumrai replied Feb 17, 2016
extern string aa ="AUDUSD.lmx"; double symbol_bid=MarketInfo(aa,MODE_BID);
help with OrderSend()
- Gumrai replied Feb 17, 2016
If you are using Bid or Ask in your code they will relate to the chart that the EA is attached to and will not be correct for the symbol that you are trying to place a trade.
help with OrderSend()
- Gumrai replied Feb 15, 2016
Here are the dashboards that have already been posted in the other thread, but scattered throughout it and not easy to find Dashboard Pips is more a stand alone indicator, I think that it was Classy who requested this. Quantum was requested by ...
GumRai's Dashboards
- Gumrai replied Feb 15, 2016
So this is the Money Flow Index, a new addition. The "M" to show/hide the display is a bit oddly placed as it squeezes in after the labels for the other dashboards. Note that when using multiple dashboards, it is better to hide one before displaying ...
GumRai's Dashboards
-
GumRai's Dashboards
Started Feb 15, 2016|Platform Tech|86 repliesAs my dashboards are spread over the free coding thread, I thought that I would start a new ...
- Gumrai replied Feb 15, 2016
Learn something new every day. I never knew that you could do that. Is it a recent option?
I will code your EAs and Indicators for no charge
- Gumrai replied Feb 13, 2016
I would think that the OP has given up hope as it was posted nearly 4 years ago
please recode this profitable indicator
- Gumrai replied Feb 10, 2016
Globally string Name=WindowExpertName(); string MyName="MyExpertName"; In OnCalculate if(Name!=MyName) { Alert("Invalid File Name"); return(0); } Or you can put the code in OnInit and return(INIT_FAILED);
How to prevent the change of the indicators name in mql code?
- Gumrai replied Feb 10, 2016
Do you mean that you are supplying only the ex4 file and that you don't want the filename changed?
How to prevent the change of the indicators name in mql code?
- Gumrai replied Feb 8, 2016
double lowerShadow=MathMin(Open[0],Close[0])-Low[0]; should do it
How to input the length of a shadow in an EA?
- Gumrai replied Feb 7, 2016
If the code is the same, then the Expert Properties must be different
Strategy Tester Question - Please Help!
- Gumrai replied Feb 4, 2016
if ((MathAbs(Close[i+s]-Open[i+s])/Poin)==1) First of all, what is Poin? Have you declared it elsewhere? Do you mean Point? You should never compare calculated doubles to an integer, you may think that it should result in 1, but it may be ...
Loop problem
- Gumrai replied Feb 3, 2016
That is de-compiled code and most coders will not work with de-compiled code.
I will code your EAs and Indicators for no charge
- Gumrai replied Feb 2, 2016
Hello, the way that you have quoted me makes it appear that my comments were aimed at you which they weren't. I don't believe that you have ever made a post that makes you sound arrogant, you have always been polite. There are probably other reasons ...
I will code your EAs and Indicators for no charge