Toys from Vinin - page 22

 
What do the dots show?
 

The ZZ top may not form on the zero bar or the first bar. The dots show the value of the last ZZ top, but they may be placed later than the start of top formation. More precisely, at the moment when a new top is defined

 

The default line thickness is 0, in the picture it is 1. is there any way to initially reduce it?

 
I need to add an alert to an indicator, I have been struggling with it for a week but I have not got it. Now I am asking for help from the knowledgeable people, If I try to use an alert, I need a sound alert with switching modes, preferably it works on 1 or 2 bars (if possible, explain how these intervals work, which parameters they draw, because I do not understand, exactly one, they do not redraw) Thanks in advance
Files:
 
Oh, my God.
 
Diamant:
Oh my God.

Explain????????
 
rrs:
I need to add an alert to an indicator, I have been struggling with it for a week but I have not got it. Now I am asking for help from the knowledgeable people, If I try to use an alert, I need a sound alert with switching modes, preferably it works on 1 or 2 bars (if possible, explain how these intervals work, which parameters they draw, because I do not understand, exactly one, they do not redraw) Thanks in advance

I wonder when the tune should be heard?
 
Vinin:

I wonder when the tune should be heard?

Afternoon, the audible alert should work as soon as the indicator has changed direction and drawn a new top or bottom, the indication step in the setting is from 15-25, thank you...
 

https://www.mql5.com/ru/code/7653

Hello ! I have an EA which has a trend detection block :

https://www.mql5.com/ru/code

There is an EA with simple logic for crossover waving - and a trend detection block :

int TrendDetection() { // BULL trend if(iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,0) > iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,0)& iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,1) > iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,1)) { return(BULL); } // BEAR trend if(iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,0) < iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,0) && iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,1) < iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,1)) { return(BEAR); }

I wanted to know how to change the Expert Advisor to signals of an external indicator RSI-

TC,

https://www.mql5.com/ru/code/7906

+TSI-TC

With the same simple logic :

If (

RSI[1] > 50.0 ) { return(BULL); }

If (

RSI[1] <50.0 ) { return(BEAR); }

To do

Should do it via iCustomfunction , only I don't know how...
 
Rossi:

https://www.mql5.com/ru/code/7653

Hello ! I have an EA which has a trend detection block :

https://www.mql5.com/ru/code

There is an EA with simple logic of crossover waving - and a trend detection block :

int TrendDetection() { // BULL trend if(iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,0) > iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,0)& iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,1) > iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,1)) { return(BULL); } // BEAR trend if(iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,0) < iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,0) && iMA(NULL,0,Short_MA_Period,0,Short_MA_Method,Short_MA_Applied_Price,1) < iMA(NULL,0,Long_MA_Period,0,Long_MA_Method,Long_MA_Applied_Price,1)) { return(BEAR); }

I wanted to know how to change the Expert Advisor to signals from an external indicator RSI-

TS,

https://www.mql5.com/ru/code/7906

+TSI-TC

With the same simple logic :

If (

RSI[1] > 50.0 ) { return(BULL); }

If (

RSI[1] <50.0 ) { return(BEAR); }

Do

It should do it via iCustomfunction , but I don't know how...


It could be simpler. Use iRSI()

double iRSI( string symbol, int timeframe, int period, int applied_price, int shift)

Calculate Relative Strength Index.

RSI=iRSI(NULL, 0, RSI_Period, PRICE_CLOSE,1);
if (RSI>50.0) {return(BULL);}
f (RSI<0.0) {return(BEAR);}