New Alerts Allow for Dynamic Messages

Following the last example from the link above, I added a function return to plot the calculated RSI value for each ticker.

For this, I added the expression of the rsi bult-in function in the security call, to send as a return to the plot function.

Ps. I purposely inverted the crossunder/crossover calls for testing here.
릴리즈 노트: As I commented in line 6, 66, 68, 74 ad 92

If we could call security using series, we could set a string array with the choosed symbols as the line belows..

Then we could make a loop using a for procedure to set some other arrays, as the e.g. below
I tried to convert tostring the ticker array, before calling the function securitybut it was not possible too

It would save a lot of code lines

It would sabe 15 lines in this example code
릴리즈 노트: I've noticed that the sma croosunder/over was getting the wrong data.

I've just corrected it and did some updates, described below:

Inserted the inputs to allow the user choose the source and the length of each indicator.
Checkbox to activate or deactivate the indicator allert.
Added the variable to get the price source from mom securtiy function to plot the value in the allert correctly.

The comments about the seies in security is just to show how would let easier to code if it was possible to use.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?