SAIYAN OCC Strategy is a price-chart strategy that builds a short moving average of open and close prices using TEMA, Hull, or ALMA and colours bars by trend.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
SAIYAN OCC Strategy R5.41 can take long, short, or both directions, optionally from Heikin Ashi closes or a multiplied alternate timeframe. Supply and demand boxes, swing labels, zigzag, break-of-structure and point-of-interest labels, and support-resistance lines are drawn on the chart. Position size defaults to ten percent of equity. It has no stop loss by default and requests higher-timeframe data with lookahead.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
TIMEFRAME
timeframe
15
res
Use Alternate Signals
bool
true
useRes
Multiplier for Alernate Signals
int
8
intRes
MA Type:
string
ALMA
basisType
MA Period
int
2
basisLen
Offset for LSMA / Sigma for ALMA
int
5
offsetSigma
Offset for ALMA
float
0.85
offsetALMA
Show coloured Bars to indicate Trend?
bool
true
scolor
Delay Open/Close MA (Forces Non-Repainting)
int
0
delayOffset
What trades should be taken :
string
BOTH
tradeType
Signals for Heikin Ashi Candles
bool
false
h
Swing High/Low Length
int
10
swing_length
Show all 40 settings
Setting
Type
Default
Variable
History To Keep
int
20
history_of_demand_to_keep
Supply/Demand Box Width
float
2.5
box_width
Show Zig Zag
bool
false
show_zigzag
Show Price Action Labels
bool
false
show_price_action_labels
Supply
color
color.new(#EDEDED,70)
supply_color
Outline
color
color.new(color.white,75)
supply_outline_color
Demand
color
color.new(#00FFFF,70)
demand_color
Outline
color
color.new(color.white,75)
demand_outline_color
BOS Label
color
color.white
bos_label_color
POI Label
color
color.white
poi_label_color
Price Action Label
color
color.black
swing_type_color
Zig Zag
color
color.new(#000000,0)
zigzag_color
Channel Balance
bool
true
channelBal
SR On/Off
bool
true
enableSR
Support Color
color
#00DBFF
colorSup
Resistance Color
color
#E91E63
colorRes
S/R Strength
int
2
strengthSR
Line Style
string
Dotted
lineStyle
S/R Line Width
int
2
lineWidth
Zones On/Off
bool
true
useZones
High Low Zones On/Off
bool
true
useHLZones
Zone Width %
int
2
zoneWidth
Expand SR
bool
true
expandSR
Initial Stop Loss Points (zero to disable)
int
0
slPoints
Initial Target Profit Points (zero for disable)
int
0
tpPoints
Number of Bars for Back Testing
int
4000
ebar
- SET to ZERO for Daily or Longer Timeframes
bool
false
dummy
Long Entry Message
text
i_alert_txt_entry_long
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This multi-timeframe scalping strategy plots moving averages alongside Smart Money Concepts elements on the price chart. It calculates trend signals using configurable moving average types like ALMA, Hull MA, or TEMA across alternate timeframes. It also plots
This strategy identifies market structure shifts, specifically Change of Character (ChoCH) and Break of Structure (BOS), on the main price chart. It triggers entries based on swing pivot breakouts with an optional volume filter and moving average confirmation.
Omar Edited WF is a trading strategy overlay built around Williams Fractals and multiple Exponential Moving Averages. It detects high and low fractal pivot points over configurable lookback periods alongside three adjustable EMA trendlines. Long entries are ma
This strategy calculates dynamic support and resistance levels using pivot highs and lows alongside a custom smoothed trend filter and a 3-period EMA. It identifies entry opportunities when price breaks out relative to the trend filter and short-term EMA cross
This strategy overlays the price chart and looks for VWAP pullbacks. It goes long when a short SMA crosses above VWAP after RSI has been oversold within ten bars, and short on the opposite cross after RSI has been overbought. Optional Minervini-style moving-av
This strategy combines three Exponential Moving Averages with Williams Fractals to execute trend-following or mean-reverting trades. It analyzes price structure using short, medium, and long-term EMAs along with fractal highs and lows. Entries trigger when fra