Re: MT4 Indicator requests and ideas

21631
pyloop wrote: Mon Sep 15, 2025 1:58 am sorry mr tools, you re right . this one.. and second question. the default width body is 2 ( lines 21/22) but when i insert heihen on the chart the body still size 3 and i can t change it, could i have 2 body size by default ? the indicator buffer is in the 14 line, whitch value is better for buffer ?
Hello, maybe try this one.
These users thanked the author mrtools for the post:
pyloop


Re: MT4 Indicator requests and ideas

21632
andrei-1 wrote: Mon Sep 15, 2025 1:59 am Works. You can check it instantly.
RSI, line, Indicator.
Then move the line through the RSI. it will beep.
Снимок.jpg
Thanks, I only use it on stochastics so that may be the reason?
I have attached a screengrab of how I want to use it - the indicators UNDER the chart are what I have termed 'indicator lines' - 1 being the first indi and 3 being the third indi.
Confusion for me is on the indicator 'inputs tab'the 1st line (name line) - is this for the 'indicator line' -and the 6th line (line_st_0_1) the indictor line - is this for each line on one indicator?
What I want to achieve is 3 of your indicators on one chart on three different settings of stochastic.
To clarify, for me, when loading your indicator :-
Questions
1. Can I put the indi on three separate settings of stochs on one chart?
2. Is the inputs tab, first line, the number to change for the three differing indicators?
3. What is the 6th line on your indi? More than one trendline?
4. Does the alerts message identify the specific indicator and chart>
Thanks again,
TEAMTRADER

Re: MT4 Indicator requests and ideas

21634
I have entered a resistance trendline and a support trendline with the names 'Trendline 64903' and 'Trendline 10485' in the "input name" on the indicator.
Under the first indi I have left the input on line six as the default 'zero'.
Under the second indi I have changed the zero to '1' on line 6 of the indi.
I presume that having 3 stochastic indicators on one chart will not work?
TEAMTRADER


Re: MT4 Indicator requests and ideas

21636
Andrei,
Here is the result on M1 of US30. It is on the WORD document not the illustration.
Several alerts but unable to see which line has been breached and created the alert. Important when it is on serveral timeframes OR checking to see which alert is working and which is not working.
The upper indi is on setting zero (inputs tab line 6) with the words 'Trendline 12969' in the first line of the input tab.
The lower indi is on setting 1 (inputs tab line 6) with the words 'Trendline 13408' in the first line of the input tab.
You'll see that the alert box has a '1' after the 'US30' wording - am I right in thinking this is from the lower indicator with setting 1?
Thanks again for your patience.
TEAMTRADER

Re: MT4 Indicator requests and ideas

21639
andrei-1 wrote: Tue Sep 16, 2025 3:17 am Now the indicator shows the name of the line. And I added a fourth option, "price".
TrendLine_Alert_(rsi_st_cci)_m1.1.mq4
Andrei,
Questions
1. Can I use this for a support trendline and a resistance trendline? That is two trendlines on one indicator?
Both the support and resistance would have the identifying number of each trendline.
2. Would the indicator be able to show on the alert the particular trendline that has been broken?
Thanks again.
TEAMTRADER
PS
COULD YOU PLEASE CONFIRM THE WORDING I HAVE ENTERED ON YOUR LINES 5 - 10. Many thanks. It is for my clarification.
input string name_line = "0"; //enter the trendline number
input ind indicator = Stochastic;
input ENUM_APPLIED_PRICE prise_rsi_cci = PRICE_CLOSE;
input ENUM_STO_PRICE prise_st = STO_CLOSECLOSE;
input ENUM_MA_METHOD ma_method = MODE_EMA;
input int line_St_0_1 = 0; //enter the indicator number on which the trendline is drawn - eg - top indi is '0', second indi is '1' etc

Re: MT4 Indicator requests and ideas

21640
TEAMTRADER wrote: Tue Sep 16, 2025 7:29 pm
Support/resistance. Yes, please use 2 indicators TrendLine_Alert_(rsi_st_cci)_m1.1.mq4.

Yes. The Alert displays the name of the line (Trendline 14432).

input string name_line = "0"; //enter the trendline number (Trendline 14432).

input int line_St_0_1 = 0; 0 is the blue Stochastic line, 1 is the red one.

One line is one indicator. Otherwise, it will turn into a behemoth with a bunch of incomprehensible settings.
These users thanked the author andrei-1 for the post:
TEAMTRADER