J Webster
Friends

Add friends via their profile or user search and you will be able to see if they are online

Added topic alarm going off repeatedly
I have coded this so that once the alarm fires, it sets the Bars count and shouldnèt trigger again for 5mins. However, when the lines cross, the a;larm keeps triggering every few ticks as the values cross and uncross. How can I stop this"
Added topic EMA of a buffer
I'm trying to get the exp moving average of the TSI buffer in this code and then draw the EMA on the indicator. However, it does not draw the value correctly as the red and yellow lines are very far apart, they should be crossing over each other. Any
Added topic all symbols appear green
In the following code, all the symbols appear on the chart as green/buy. Is there any reason why it doesn't check the 2nd part of the else if statement? if (             (Bid >
Is there a way to paint candles in an indicator instead of just straight lines so we could get high, low, open, closes of the indicator value
Added topic standard deviation on buffer? why MAs?
This function https://docs.mql4.com/indicators/iStdDevOnArray iStdDevOnArray has a whole load of functions to do with moving averages? Isn;t a standard deviation just a simple calculation of the data in the array like in Excel
Added topic work out correlation and 1 standard deviation
What is the best way to work out the correlation between 2 different instrument in MQL4? Should I load the data into an array and then draw a chart from that? In Excel, it is easy to do this with some functions but I'm not sure if MQL4 has them I
Added topic code works on xxxJPY pairs but not others
I can't think why this code would work on JPY pairs but not on the 5 decimal place pairs. Any ideas? The indicator "testwindow" works on both so why doesn't iCustom pick up the value
I have this for the True Strength index: Parameters Raw (Raw = 25 ) Smooth (Smooth = 13 ) Indicator programming NetChg = MOMENTUM [ 1 ] Value1 = EXPONENTIALAVERAGE [Smooth]( EXPONENTIALAVERAGE [Raw](NetChg)) Value2 = EXPONENTIALAVERAGE [Smooth](
I have a problem with the times on this chart. It works with the one hour chart highlighting a box for the daily range but on the Daily chart, I am trying to highlight a box for the last week and it doesn't highlight the correct number of days
Added topic rectangle for each day
I have sme code that draws a rectangle for the current day. How can I loop the code so that it draws a rectangle for every day on the chart? lprice is calculated by doing this: double lprice=iHigh(Symbol(),period_no,1)-iATR(Symbol(),period_no,14,0);
I would like to start this rectangle from midnight, how can I specify the time? ObjectCreate("box", OBJ_RECTANGLE ,0,Time[24],hprice,Time[0],lprice);
Added topic print price on l;abel everytime an MA cross occurs.
I have an MA cross indicator with buffers to show MA crosses. How can I print a label with the price it crossed at just above the crossing area? Is it a case of adding a 3rd buffer? The current buffers use symbols so I am not show how to add a label
Added topic code not working for 1 symbol...
This code works for FX symbols but not index symbols like the UK100. Any ideas what is wrong? int start()   {    if ( Period () == PERIOD_H1 ) {period_no = 1440 ;}    double hprice= iLow ( Symbol (),period_no, 0 )+ iATR
Added topic HA paint bars not showing current candle
I need an alert for HA colour change but it should not be checking the current candle so I changed the code and the alert works but it is not paintiung the current HA candle. Any ideas on what to change? Maybe I need an indicator for the candles and