Sabarijegan

Option Buying Pivot and SMA 3 Pivot crossover

This script is designed as a visual aid for options trading specifically for option buying, providing information about potential entry points, Option levels, and trade outcomes. Here's a summary of the key elements:

1. Pivot Point and True Range:*
- The script calculates the current candle's pivot point, representing an average of high, low, and close prices from the previous candle.
- True range, a measure of volatility, is determined using the high, low, and close prices of the last two candles.

2. Option Levels:
- Downside (PutValue - Red colour line) and upside (CallValue - Green Colour line) are calculated based on the current pivot point and true range.
PutValue = currentCandlePivot + currentCandleTrueRange
CallValue = currentCandlePivot - currentCandleTrueRange


3. Simple Moving Average (SMA) of Pivot Point:
- A 3-period SMA is applied to the pivot point to smooth out fluctuations.

4. Trade Entry Logic:
- Long entry is signalled when the current pivot point is above the SMA. (longEntry = currentCandlePivot > smaPivot)
- At the time of long entry BUY THE CALL OPTION OR SELL THE PUT OPTION near the CallValue Green line
- Short entry is signalled when the current pivot point is below the SMA. (shortEntry = currentCandlePivot < smaPivot)
- At the time of Short entry BUY THE PUT OPTION OR SELL THE CALL OPTION near the PutValue Red line

The indicator having option to change the background of the candle as a green for long; and change the background of the candle as red for short. Also, Having the option to plot as label.


5. Win and Loss Logic:
- Winning conditions are assessed based on the close price relative to CallValue (for Long) and PutValue (for Short).
- Losing conditions are determined similarly.
- winLong = close > CallValue and longEntry
- winShort = close < PutValue and shortEntry
-lossLong = close < CallValue and longEntry
-lossShort = close > PutValue and shortEntry

The indicator having option to change the background of the candle as a green for win; and change the background of the candle as red for loss. Also, Having the option to plot as label.


6. Background Coloring and Plots:
- The script uses background colors to highlight Long, Short, Win, and Loss scenarios.
- Shapes and labels are plotted on the chart to visually represent entry points, stop-loss levels, and trade outcomes.

The overall purpose is to provide traders with a clear visual representation of potential trading opportunities and outcomes, helping them make informed decisions in the options market.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?