Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=75760
Forum: 31 · Topic 75760 · 1 post(s)
Apprentice · Wed Mar 26, 2025 2:55 pm

Based on the request. https://fxcodebase.com/code/viewtopic.p … 66#p149166 MACD Slope.lua https://fxcodebase.com/code/viewtopic.p … 87#p158787
MACD Slope Strategy – Trading Rules (Short Summary) Buy Signal: When the MACD Slope crosses above the zero line (from negative to positive), a buy is triggered.
Sell Signal: When the MACD Slope crosses below the zero line (from positive to negative), a sell is triggered.
Exit Rule: Positions are closed when the MACD Slope crosses in the opposite direction.