OPEN-SOURCE SCRIPT

USD Liquidity Conditions Index Swing Stock Strategy

Original credits goes to ElDoggo22 tradingview.com/u/ElDoggo22/

I looked in the post created by him, of USD liquidity and I have noticed that if you are going to apply a percentile top and bottom to it, can become an interesting swing strategy for US Stocks.

So in this case I decided to create a 99th percentile for top and 4th percentile for bot with a big length, preferably 100+ candles, for this example i took 150.


Rules for entry :
Long : either bot or top lines are ascending
We exit long either the top line is descending, or we have sudden cross of the moving average with both top and bot within the same candle

Short: we enter short when we have a sudden cross down of the moving average with both top and bot within the same candle
We exit short when we have a cross over of the moving average with both top and bot within the same candle ( or we have a long entry condition)


If there are qny questions, please let me know !
dollarfedFundamental AnalysisliquiditynasdaqQQQS&P 500 (SPX500)SPDR S&P 500 ETF (SPY) Stocksswing

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


🔻My Website: hercules.money/
🔻Blog: hercules.money/blog/
🔻Telegram : t.me/hercules_trading
🔻Discord: discord.gg/hudcJvcCAq
Also on:

Disclaimer