OPEN-SOURCE SCRIPT

SSL Chaikin BF 🚀

āļ—āļĩāđˆāļ­āļąāļ›āđ€āļ”āļ•:
Combined my earlier SSL Channel script with the Chaikin Money Flow indicator.
Link to the SSL Channel script here:
SSL Channel BF


INSTRUCTIONS
Look at the background, the signals are represented by the colors.
  • Bright green = long signal from SSL Channel
  • Bright blue = long signal from Chaikin Money Flow
  • Bright red = short signal from SSL Channel
  • Bright orange = short signal from Chaikin Money Flow
  • Green = we should be in a long from one of the signals - ok to enter back in if we get stopped out and still green
  • Red = we should be in a short from one of the signals - ok to enter back in if we get stopped out and still red
  • White = no trade


SIGNAL GENERATION
The SSL calculation prints a channel on the chart consisting of 2 lines.
This strategy gives a Long signal when price closes above the top of these 2 lines and a Short signal when it closes below the bottom.
A long signal occurs when EITHER we get an SSL long cross OR the Chaikin MF crosses above the upper threshold.
A short signal occurs when EITHER we get an SSL short cross OR the Chaikin MF crosses below the lower threshold (see settings to adjust upper and lower threshold).

STOP LOSS AND RE-ENTRY
We use a fixed stop loss of 2%
If we get stopped out but we still have the conditions for our trade (i.e. we get stopped out of a long but the next candle still shows a long condition after closing) then we re-enter.

Note: The SSL signals are generated on a cross of the price and the channels but there is still an active long signal as long as price stays above the upper band, same for below the lower band for short. Similarly, the Chaikin signal occurs as long as the Chaikin line is above the upper threshold (or below the lower threshold if short).

Tested and optimised for XBT/USD on Bitmex.
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ
Added switch for longs or shorts and a function to choose ATR derived or fixed stop losses
Chaikin Money Flow (CMF)SSLsslchannel

āļŠāļ„āļĢāļīāļ›āļ•āđŒāđ‚āļ­āđ€āļžāļ™āļ‹āļ­āļĢāđŒāļ‹

āļ”āđ‰āļ§āļĒāđ€āļˆāļ•āļ™āļēāļĢāļĄāļ“āđŒāļŦāļĨāļąāļāļ‚āļ­āļ‡ TradingView āļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļĩāđ‰āđ„āļ”āđ‰āđ€āļœāļĒāđāļžāļĢāđˆāđ€āļ›āđ‡āļ™āđ‚āļ­āđ€āļžāļ™āļ‹āļ­āļĢāđŒāļŠ āđ€āļžāļ·āđˆāļ­āđƒāļŦāđ‰āđ€āļ—āļĢāļ”āđ€āļ”āļ­āļĢāđŒāļŠāļēāļĄāļēāļĢāļ–āđ€āļ‚āđ‰āļēāđƒāļˆāđāļĨāļ°āļ•āļĢāļ§āļˆāļŠāļ­āļšāđ„āļ”āđ‰ āļ•āđ‰āļ­āļ‡āļ‚āļ­āļšāļ„āļļāļ“āļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™! āļ—āļĩāđˆāđƒāļŦāđ‰āļ„āļļāļ“āđƒāļŠāđ‰āđ„āļ”āđ‰āļŸāļĢāļĩ āđāļ•āđˆāļāļēāļĢāļ™āļģāđ‚āļ„āđ‰āļ”āļ™āļĩāđ‰āđ„āļ›āđƒāļŠāđ‰āđƒāļ™āļāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆāļ‹āđ‰āļģāļˆāļ°āļ•āđ‰āļ­āļ‡āļ­āļĒāļđāđˆāļ āļēāļĒāđƒāļ•āđ‰ āļāļŽāļĢāļ°āđ€āļšāļĩāļĒāļšāļāļēāļĢāđƒāļŠāđ‰āļ‡āļēāļ™ āļ„āļļāļ“āļŠāļēāļĄāļēāļĢāļ–āļ•āļąāđ‰āļ‡āđ€āļ›āđ‡āļ™āļĢāļēāļĒāļāļēāļĢāđ‚āļ›āļĢāļ”āđ€āļžāļ·āđˆāļ­āđƒāļŠāđ‰āļšāļ™āļŠāļēāļĢāđŒāļ•āđ„āļ”āđ‰

āļ•āđ‰āļ­āļ‡āļāļēāļĢāļ—āļĩāđˆāļˆāļ°āđƒāļŠāđ‰āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļĩāđ‰āļšāļ™āļŠāļēāļĢāđŒāļ•āđƒāļŠāđˆāđ„āļŦāļĄ?

āļ„āļģāļˆāļģāļāļąāļ”āļŠāļīāļ—āļ˜āļīāđŒāļ„āļ§āļēāļĄāļĢāļąāļšāļœāļīāļ”āļŠāļ­āļš