Re: Coding Help

1382
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
   );
These users thanked the author kvak for the post (total 2):
alpha24, Jimmy

IndicatorRe: Coding Help

1383
I am looking to add alerts to the simple RSI indicator, can any Guru on the platform help me add alerts to the indicator?

I downloaded the Indicator from the MQL5 codebase, I changed its name and added 20 and 60 RSI levels, and also changed the name of the indicator. What I am looking for now is to get alerts at
When RSI closes >60
When RSI closes >80
When RSI closes <40
When RSI closes <20

Please help me add alerts, it will make my trading strategy easy.

DownloadRe: Coding Help

1384
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
That which can Kill can also Save.How you use it makes the Difference.


Re: Coding Help

1386
I need your help,

What I want is to click the button all the time to display ABCDE


if(show_data)
{

ObjectSetInteger(ChartID(),buttonId,OBJPROP_COLOR,btn_text_ON_color);
ObjectSetString(ChartID(),buttonId,OBJPROP_TEXT,"button:A");

if(show_data)
{
ObjectSetInteger(ChartID(),buttonId,OBJPROP_COLOR,btn_text_ON_color);
ObjectSetString(ChartID(),buttonId,OBJPROP_TEXT,"button:B");
}
else
{


ObjectSetInteger(ChartID(),buttonId,OBJPROP_COLOR,btn_text_OFF_color);
ObjectSetString(ChartID(),buttonId,OBJPROP_TEXT,"button:C");

}}

else
if(show_data)
{
ObjectSetInteger(ChartID(),buttonId,OBJPROP_COLOR,btn_text_ON_color);
ObjectSetString(ChartID(),buttonId,OBJPROP_TEXT,"button:D");
}
else
{


ObjectSetInteger(ChartID(),buttonId,OBJPROP_COLOR,btn_text_OFF_color);
ObjectSetString(ChartID(),buttonId,OBJPROP_TEXT,"button:E");

thank you

Re: Coding Help

1387
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
Image
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
These users thanked the author Jackson Doh for the post:
rexey

DownloadRe: Coding Help

1388
Hello and sorry to bother with questions and ask for things.... I dont know nothing about coding and i dont have any idea about how to do things inside the indicators. If somebody have a time and want to do it i will be really grateful. My problem is that: I want to add one alarm to one indicator and if is possible add vertical lines on chart too. But with my knowledge of nothing about coding this will be impossible to me .

If someone want to do it and is easy and non time consuming i only can say Thanks For Life!

The indicator is Weis Wave 3c and the alert in mt4 is when the waves change. When finish one wave and begin the other. Only with this i will be really happy; if have any other things like plot vertical lines lines or have push or mtf this will be really amazing! But just the alarm works for me. I wish all the best to everybody and Happy Nearly Christmas and New Year!

(sorry about my written english...)
From the domains of my desk and laptop Full of Porn and Charts I call upon the Spiritual Presence and Power of Richard Wyckoff, Jesse Livermore, George Soros and all the Wise in Volume and Standard Deviation to enlighten and make everyone get off their asses and go to study Market Structure, Liquidity Pools and Volume.

Selah

Re: Coding Help

1389
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
Image


Checklist - 1.zip
CHECKLIST2.mq4
CHECKLIST2.ex4

Sorry for my late response

You just did me a world of Good

Thanks
These users thanked the author rexey for the post:
Jackson Doh
That which can Kill can also Save.How you use it makes the Difference.

Re: Coding Help

1390
It is difficult to find a system of indicators that gives hope for long-term success in the Forex market. I am looking for a coder who can appreciate such a system. By testing on a demo account, I found such a system consisting of three indicators. Two indicators do not have source code. I need a coder to write an EA for opening positions. Or a coder to write an indicator that will generate audio alerts and mobile alerts.


Who is online

Users browsing this forum: Amazon [Bot] and 18 guests