Discontinued signal line MACD

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Discontinued signal line MACD

Postby Apprentice » Thu Oct 27, 2022 3:07 am

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 112 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Discontinued signal line RSI

Postby Apprentice » Thu Oct 27, 2022 3:28 am

TSLA.us D1 (10-27-2022 1027).png

Discontinued signal line RSI.lua
Discontinued signal line, DSL, RSI
(7.57 KiB) Downloaded 105 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider] and 75 guests

cron