Jagg / Publications
Forum
CPanelDialog - start minimized shows wrong restore icon (top right)?
Hi, I have an input parameter in my EA 'startMinimized' - if the user sets it to true the dialog should be started minimized. So I do it this way in my code: ExtDialog = new CPanelDialog; if (startMinimized) { ExtDialog.Minimized( true ); } if (!ExtDialog.Create( 0 , " " + _Symbol
Count opened orders of a day (without all those partial closes)
Hi, I want to get the number of trades from a day I've done so I loop through OrdersHistoryTotal. Problem now is I often do partial closes of an order so the total number of trades I get now from my code is way too high because of all those partial closed trades which are present in History Tab
Elliott Wave objects for MT4?
Hi, for MT5 there are object types for Elliott Wave (https://www.mql5.com/en/docs/constants/objectconstants/enum_object/obj_elliotwave5 and https://www.mql5.com/en/docs/constants/objectconstants/enum_object/obj_elliotwave3). MT4 doesn't have these Elliott objects, do it? What I'm wondering is this
Trendline always 10 bars long (problem with exchange closed times and weekends)
Hi, I want to add a new trendline object to an intraday chart for the DAX for example. DAX trading hours are from 8:00-22:00 on my broker. I want to draw trendlines (within a script) to that dax intraday chart which are always 10 bars long to the future from a time/object given . So I can do this on
Move object when another object is moved (object set through a script)?
Hi, I use a script which I drag & drop to a chart. This script adds an object (text) to chart and places 4 trendlines to the chart (depending on the price where I drop the script). These 4 trendlines depend always on that set/dropped text object. So when I move that text object my 4 trendlines
Time based order entry and exit (EA)
Hi, is there a EA out there which is able to do time based orders? Example: I want to set in the morning two times (9:45 and 13:30) and the EA should open a trade at 9:45 and close that trade at 13:30. Thanks
Change histogram code to "small height bars" (like a tape)
How do I have to change below code of that histogram code in order to be able to drag n drop that indicator into an existing cci indicator window? When I do it now it shows: It should be like the above sidewinder indicator at top (yellow, green, red), only a small "line". (shown at bottom of cci
Disable "Price Line" in chart?
Hi, I want to get rid of the horizontal line in the chart window (which shows the actual price, line is in the middle of the bis/ask spread). How to do that? (and no... show ask line in option isn't activated) Thanks
Shift indicator_level1 to the left
Hi, I can set the indicator_level/horizontal line for an indicator window with e.g. #property indicator_level1 300 This line goes completely to the right axis. Is there a chance to shift this line to the left so that I have a little free space right at the right axis? Thanks
Play sound only once per bar
Hi, i use a bar close timer which prints for example 1:45 (means 1 Min (m) 45 Sec (s) left until bar close). What I'm trying to do is play once a sound if m<1 && s<40 for example. Two problems 1) MetaTrader only changes the bar close timer if there is a price printed -> Ok, not good but I can live