- Search Energy EXCH
-
kennyhubbard replied Feb 28, 2011trade4fun, Anything can be done in MQL.....but why the complex system. Looks like a simple cost-averaging concept and you don't need baskets for that. As CodeMeister mentioned, the orders are already stored in an internal array and there is no ...
how do you group a bunch of open orders?
-
kennyhubbard replied Feb 27, 2011if(Get_Basket_Total()>=0)Close_All(); //+------------------------------------------------------------------+ double Get_Basket_Total() { double Basket_Profit=0; for(int i=OrdersTotal()-1;i>=0;i--){ OrderSelect(i,SELECT_BY_POS); ...
how do you group a bunch of open orders?
-
kennyhubbard replied Feb 24, 2011int Bars_Back = 6, Highest_Bar = iHighest(NULL,PERIOD_H1,MODE_HIGH,Bars_Back,1); double My_6Bar_High = iHigh(NULL,Highest_Bar);
Programming Array for High-Values
-
kennyhubbard replied Feb 24, 201164punisher, Yes, you should see a line indicating the trailing stop.....assuming you are running the EA on the same chart of the currency pair being controlled. You can also check in the chart properties>>colors tab, the last selection is color for ...
I'm seeking a trailing stop EA that surely must exist, any ideas?
-
kennyhubbard replied Feb 21, 2011Hi profxtrader, Sorry man, no progress so far.......There are several projects that I am working on(trailing stop being one of them) and this one is in the queue. I don't expect any problems with the hashtags as that looks pretty simple(assuming my ...
EA to email new orders... like a signal EA
-
kennyhubbard replied Feb 21, 2011Of course the simple solution is to run this in a chart of its own.........
I'm seeking a trailing stop EA that surely must exist, any ideas?
-
kennyhubbard replied Feb 21, 2011Hi Guys, Herewith a major upgrade to this EA. Also I have renamed it(sorry Ben
) Use of the Compuforex Trailing Stop Typical User default settings are as follows :- MagicNumber = -1 Own_Symbol_Only = false Trail_Start = 10 Trail_Max = 50 ...I'm seeking a trailing stop EA that surely must exist, any ideas?
-
kennyhubbard replied Feb 19, 2011Hi guys, Here is a similar EA that I have created. You set the risk in the EA settings and drag the line to where your stoploss should be set. The display will show you the lotsize to trade. There is also a script that you can drag and drop. This ...
Visual Position Size Calculator
-
kennyhubbard replied Feb 18, 2011Yeah, that could work. In that case, you may want to study the FFCal indicator which uses a nifty function called GrabWeb for downloading webpages. Instead of downloading the calendar, you could download your own page with the settings.
Can you use an external file for parameters?
-
kennyhubbard replied Feb 17, 2011The short answer is yes, you can place externals and globals into an external file. Like anything in coding, it is relatively simple if you dedicate a fair amount of time to understanding how it works. You could start by reading this :- url I am ...
Can you use an external file for parameters?
-
kennyhubbard replied Feb 9, 2011Hi there, Ok, gimme a couple of days and I'll see what I can do about the partial close. You gonna have to explain to me how the hashtags works as I don't know anything about them. Would that be part of the email heading?
EA to email new orders... like a signal EA
-
kennyhubbard replied Jan 25, 2011Justin, that is awesome. Well done to MB Trading for being ahead of the pack! Can you tell me when this goes into effect? Thanks
MB Trading Futures - Introduction
-
kennyhubbard replied Jan 25, 2011Hi Justin, My understanding is that a server based takeprofit is also a limit order. Can you confirm that this will also pay the $1.95 per $100k. That would imply that if I make a $100k trade and it closes out at TP, my total trade cost is ...
MB Trading Futures - Introduction
-
kennyhubbard replied Jan 24, 2011Order_Hour = TimeHour(OrderOpenTime());
Find out the Hour of an order' open time?
-
kennyhubbard replied Jan 22, 2011Just leave the size blank :- Double EMA13[]
How to dynamically define an array
-
kennyhubbard replied Jan 22, 2011donmarco is correct....... Volume as seen from the terminal is nothing more than a tick counter. All it tells you is that there has been a trade. I think the actual question 1ken89 should be asking is what happend to liquidity? There can be no doubt ...
What happens to Volume if someone closes a large deal?
-
kennyhubbard replied Jan 10, 2011Hi, Not sure if this is what you are after but you could try this......... Just drag a currency from the market watch window and drop it onto the chart with your desired template. The new currency will be displayed with the existing template.
*solved* How to change a pair without opening a new window?
-
kennyhubbard replied Jan 10, 2011That is correct. I generally introduce an artificial stop level of about half a pip into my EA's as I do not need orders modified every 1/10 of a pip. Who is your broker anyway.....I think most brokers(ECN/STP) have zero stoplevels.
Stop orders too close to current price
-
kennyhubbard replied Jan 10, 2011Stop_Level = MarketInfo(OrderSymbol(),MODE_STOPLEVEL); url
Stop orders too close to current price
-
kennyhubbard replied Jan 9, 2011Hi, I have no idea if this would work, but try saving your template as "default.tpl" I have never used it, but I would assume that the opening of a chart using MT4Internal Messages would simply load up the default template.
LoadTemplate in MQL