OPEN-SOURCE SCRIPT

ADVANCED COSINE PROJECTION SYSTEM — LITE Mark3

638
ACPS-Lite is a projection-based tool designed to visualize potential price paths using cosine-based similarity and stability analysis.

so, i have been working over multiple iterations to have a stable projection based on cosine principles and I've settled with a few stable algorithmic frameworks which works as: what i like to call : next generation leading indicators.

This indicator works well with any charting type like line/bar/candles etc. across ALL timeframes. (including seconds).
Basically this indicator projects a path towards the right.
Based on the trend the color of the projection updates on live refresh (depends on your timeframe of choice)
GREEN path projection for possible up trend
RED for bearish and yellow for sideways trend.

Technical : This indicator Aims to solve "DIRECTION" .
The idea was to to calculate angle between any given vectors : so if we translate it into the trading world : we are trying to determine direction (simplified explanation).

Pros : Scale Independent
meaning factors like flash crash , High impact movements (like NFP's) dont impact the projection logic in terms of Magnitude.

My model focuses on pattern similarity
example : in the previous instance of similar situation how did price react ?
therefore making a similar "COSINE" projection. (based on past "vector"/event)

on the left side there will always be an highlighted box section to visually represent where the future projections are based off of.

Cons: multiple vectors can have same direction from the cosine logic : essentially rendering the projected distance inconclusive.
but i solved that problem fully but on this lite version i made use of live refresh feature to keep the projections on a float : making our right side projections that much more fluid.

finally as a psychological factor not to get caught up on any Bias i made sure the indicator switches color according to immediate trend change logi.

Best Use case : have this indicator across multiple timeframes inside Tradingvieews tabs to Help make better Judgement.

I'm open for feedback / suggestions.

regards,
drsamc.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。