- Search Energy EXCH
- 399 Results (272 Replies, 127 Comments)
- iwjw replied Sep 1, 2014
Maybe someone with some more experience with the 600+ OnCalculate function can help here I don't see where it's going wrong
Volume Indi that only shows for bars that make a high/low
- iwjw replied Aug 31, 2014
if you change this line: input color InsideBar; to this: input color InsideBar=clrNONE; it should work
Volume Indi that only shows for bars that make a high/low
- iwjw replied Jun 18, 2014
On your chart you are displaying the actual e/u Bidprice In the Trades panel your are seeing the Askprice for e/u at which you could cover your short position When you have a long position then you also have the Bidprice in the trades panel at which ...
Possible Price anomalies in mt4 and a certain large broker
- iwjw replied Apr 7, 2014
With the extensions of the new MQL4 you can simply use ChartSetInteger(chart_ID,CHART_MODE,value) to switch between bar, candle and line chart
Change chart type from MQL
- iwjw replied Apr 6, 2014
We are not looking for a framework We are looking for a solution to terminate an indicator without crashing it by a zero devide And to propagate it wit a message or a loginfo That can be done Rereading our communication there might be some kind of ...
mql4/mql5 error handling
- iwjw replied Apr 6, 2014
You can't expect more than MQL is offering And if there's something missing you would like to have, you have to work around it You could append an instance# to the shortname of the indicator when launching it (could even be done automatically with a ...
mql4/mql5 error handling
- iwjw replied Apr 6, 2014
Are you sure that you know what you are talking about? There is no such thing like exception handling in MQL4/5 like try+catch And if there are multiple instances of the same indicator on a chart, ChartIndicatorDelete() will serve them as FIFO If ...
mql4/mql5 error handling
- iwjw replied Apr 6, 2014
Take a look at the ChartIndicatorDelete() function
mql4/mql5 error handling
- iwjw replied Mar 24, 2014
ok, again thanks for your help before I start reinventing the wheel, I will have a look at this implementation url It's developed for mql5 but I hope there's nothing in it that isn't availlable with mql4
Learn New MQL Coding
- iwjw replied Mar 24, 2014
So if I wanted to use CList I would have to declare class Order : public CObject and then could manage the Orderlist with the methods of CList?
Learn New MQL Coding
- iwjw replied Mar 24, 2014
Hi broketrader, thanks for your response the "what" is clear because I have coded a simulator-indi a while back with what the old mql4 had to offer But the execution was so slow that I abandoned the project I'm comming from VB6 and there I could use ...
Learn New MQL Coding
- iwjw replied Mar 24, 2014
delete Instance() is what I'm using in OnDeinit and that solved the problem On thing I also changed in ComputeCurrentBar is that I set m_Rate.m_Time only once It's reset to zero in OnCalculate when the candle has finished and set to Time[0] later
Learn New MQL Coding
- iwjw replied Mar 24, 2014
I would like to test strategies where multiple currencies are involved Due to the limitations of the MT4 tester, an indicator, that acts as a trade simulator comes into my mind What I would like to know is how to start Would a trade be mapped into a ...
Learn New MQL Coding
- iwjw replied Mar 23, 2014
Hi broketrader, thanks for your hard work and the examples could you add a destructor to the renko chart because the object stays alive after removing the indicator (memory leak message in expert tab)
Learn New MQL Coding
- iwjw replied Feb 24, 2014
What about the other timeframes? Should i.e. H4 be shifted one candle to the left? you can simply replace IndBuff0=(up-down)/LocalPoint; with IndBuff0[bar[B]+1]=(up-down)/LocalPoint;
Need indicator for new idea to measure the trend
- iwjw replied Feb 23, 2014
check this one Maybe in combination with a MA(100)
Need indicator for new idea to measure the trend
- iwjw commented Feb 21, 2014
The whole day was orchestrated Traders were lured into shorts before the news and killed right afterwards Then the bo-Trader got their breakout on the long and were killed right afterwards My guess is a big deal at LDN fix had to be transacted
Cable slammed down through the fix