Page 1 of 1

Discontinued signal line MACD

PostPosted: Thu Oct 27, 2022 3:07 am
by Apprentice
TSLA.us D1 (10-27-2022 1007).png

Based on the code
https://www.prorealcode.com/prorealtime ... line-macd/
Instead of having one signal line, the Top and Bottom lines depend on the current value of the indicator.

The “Signal” line is calculated the following way :
When some level is crossed in the desired direction,
ema of that value is calculated for the desired signal line
When that level is crossed in the opposite direction,
previous “signal” line value is simple “inherited” and it becomes a kind of a level
Discontinued signal line MACD.lua
Discontinued signal line, DSL, MACD
(7.83 KiB) Downloaded 111 times

Discontinued signal line RSI

PostPosted: Thu Oct 27, 2022 3:28 am
by Apprentice
TSLA.us D1 (10-27-2022 1027).png

Discontinued signal line RSI.lua
Discontinued signal line, DSL, RSI
(7.57 KiB) Downloaded 104 times