want to Shift this signal line by 2-3 candle please guide me.
Code: Select all
Signal[i] = iMAOnArray(ao,0,SignalPeriod,0,MODE_SMA,i);
Code: Select all
Signal[i] = iMAOnArray(ao,0,SignalPeriod,0,MODE_SMA,i);
alpha24 wrote: Fri Nov 04, 2022 10:28 pm Hi Masters,
want to Shift this signal line by 2-3 candle please guide me.Code: Select all
Signal[i] = iMAOnArray(ao,0,SignalPeriod,0,MODE_SMA,i);
Code: Select all
double iMAOnArray(
double array[], // array with data
int total, // number of elements
int ma_period, // MA averaging period
int ma_shift, // MA shift
int ma_method, // MA averaging method
int shift // shift
);
Rex,rexey wrote: Tue Nov 08, 2022 4:20 pm Greeting to you @Mrtools and all other coding experts,
I need help !!!!! . This is an indicator i edited and named it Checklist.mq4. I used various indicators created by forex-station expert @Mrtools, which i have adapted to my strategy to create this check list so that i can see the values on the market i am focusing on all at once.
NUMBERED BELOW IN THE PICTURE IS :
1. & 3. is tsi macd (mtf + alerts), created at this wonderful forum
2. 4. & 5. is Spearman Rank Correlation (price filtered) 1.02, created also at this beautiful forum.
6. 7. & 8. is ! Double jurik smoothed stochastic (mtf + arrows), created also at this forum.
I HAVE EXHAUSTED ALL OF MY LITTLE CODING SKILLS THAT I KNOW BUT THIS CHECKLIST SEEMS TO GIVE ME WRONG VALUES.
Can you Sir, @Mrtools or any other coding expert, help me, IF POSSIBLE TO:
1. Incorporate the three different indicators and create a single checklist of it. using the same individual values this indi's have in the coding.
2. Solve the problem of it giving me wrong values.
3. Add alert for any of the double groupings of indicator achieving the same color of either red or lime.
Even if 3. can't be done, i will be grateful if any one can help me solve 1 and 2. But solving 2 is most critical for me right now.
Attached is the picture of the indicator
The indicator itself
And other three indicators it used.
Any help is appreciated
Regards Rex
Jackson Doh wrote: Wed Dec 07, 2022 6:32 am Rex,
This is a big ask but for my own learning purposes I had a go at addressing request 2. The only problem with that is I'm not too sure what values you are expecting. You will need to check these out.
My approach to this coding request was to provide a differently named indicator for each instance it was being called instead of using one like you had. The delay in this response was due to wanting to create multiple stochastic indicators with mtf and not being sure of my mtf coding skill.
I'm not sure if this will advance your quest but check it out and let me know what you think.
I wouldn't worry too much about the spacing. This is down to my monitor resolution settings; it should display like yours.
Cheers,
JD
Checklist - 1.zip
CHECKLIST2.mq4
CHECKLIST2.ex4