- Search Forex Factory
- lukeb replied Dec 24, 2019
try this one. It allows turning Day, Week and Month on or off, and choosing if you want the high and low taken from Bar Zero or Bar One. Hover over the line to see the price. The line label displays the current distance (in points) of the a) ask to ...
- lukeb replied Dec 24, 2019
Try this: https://www.mql5.com/en/code/2742
- lukeb replied Dec 22, 2019
Try this: url
- lukeb replied Oct 27, 2019
Look at the spec: double iHigh( string symbol, // symbol int timeframe, // timeframe int shift // shift ); The price is give by: int barNumber = 1; // or whatever MONTH Bar (not bar shown on chart) you want. double HiPoint; HiPoint = iHigh(_Symbol, ...
- lukeb replied Oct 26, 2019
Both iClose and iOpen have essentially the same syntax: double iOpen( string symbol, // symbol int timeframe, // timeframe int shift // shift ); Also 'Static' means the variable is permanent for the duration of the program (but can have it's value ...
- lukeb replied Oct 26, 2019
This is not what you asked for, but allows you to view many of the oscillators in various timeframes with a click and shows on the chart where various value crossings occur: url Includes: RSI, RVI, Stochastic, WPR, Bears Power, Bulls Power, CCI, ...
- lukeb replied Oct 25, 2019
I was too tired last night - If you want it to completely not draw on bar zero (the bar forming in real time), you need to change line 160: for(int workBar = limit; workBar >=0; workBar--) to for(int workBar = limit; workBar > 0; workBar--)
- lukeb replied Oct 24, 2019
No oportunity for this to re-paint, and it will only draw on candle close. V2.01 changed line 160: for(int workBar = limit; workBar >=0; workBar--) to for(int workBar = limit; workBar > 0; workBar--)
- lukeb replied May 27, 2019
I made a somewhat different version of a basket viewer and posted it here: url .As long as you change the value of 'uniquifier' for each instance, and I haven't made any silly mistakes, it should support multiple instances on one chart.
- lukeb replied May 26, 2019
Give this one a try: url ; "Basket Viewer" I'll be interested in any defects you detect, as the Strategy Tester just won't run with it
- lukeb replied Apr 22, 2019
Try this: url
- lukeb replied May 1, 2018
I believe there is no code specific to any pair - it should run on any chart it is placed on.
- lukeb replied May 1, 2018
I look at it to confirm market direction. I'd wait for the 1 min to be in my direction, and be sure I wanted to enter if higher time frames were not in my direction.
- lukeb replied Apr 22, 2018
I got it using the MN1 chart and ploting M1, at line 491. Changing like this seems to fix: //int oldestBar = iBars(_Symbol,rsiPeriod[idx]); int oldestBar = iBars(_Symbol,PERIOD_CURRENT); // could just use Bars. I hope your recognize that the bars ...
- lukeb replied Apr 11, 2018
Code modified to compile strict
- lukeb replied Mar 18, 2018
The Heiken Ash Smoothed indicator has not been updated in many years; here it is compiled strict with the latest event handlers. Something I don't understand is that the drawing is dependent on the starting bar; pos = rates_total-2; produces the ...
- lukeb replied Mar 17, 2018
As described, that would not be a repaint. That is current bar price action. Re-painting is when the indicator changes the value or buy/sell indication for an already closed bar. Typically, a repainting indicator has a statement like this for its ...
- lukeb replied Mar 14, 2018
And, here is a Conner rsi that I think is accurate to the description at url . However, Its plot is not that different from the other one.
- lukeb replied Mar 13, 2018
Thanks, velgengni That was pretty old code and as it was, wouldn't draw, and got array out of range errors. This was due to no code to check the minimum required bars when setting the first bar to check. Anyway, I modified it, attached, seems to ...
- lukeb replied Mar 8, 2018
url I didn't find any shared mq4 or mq5 code for this. Anyone aware of something already coded? ================ There are three major components to Connors RSI RSI = Standard RSI developed by Wilder. This is typically a short-term RSI. In this ...