Multibagger Indicator Pine Script Guide

0% found this document useful (1 vote)
254 views7 pages
Multibagger Indicator PineScript
  • Introduction to Financial Freedom
  • Accessing Trading Platforms
  • Setting Up Trading Accounts
  • Exploring Market Analysis Tools
  • Conducting Technical Analysis
  • Executing Trades and Strategies

FINANCIAL FREEDOM

ACCELERATOR

Multibagger
Indicator
PineScript
SpringPad’s Multibagger
Indicator PineScript
Code
//@version=5

strategy("52-Week High/Low Breakout Strategy", overlay=true)

// Define 52-week high and low

lookbackPeriod = 52 * 5 // 5 trading days in

a week highest52Week = [Link](high,

lookbackPeriod) lowest52Week =

[Link](low, lookbackPeriod)

// Buy condition: Close above the 52-week high

buyCondition = close > highest52Week[1] // [1] for accessing the

previous value if (buyCondition)

[Link]("Buy", [Link])

// Sell condition: Close below the 52-week low

sellCondition = close < lowest52Week[1]

if (sellCondition)

[Link]("Buy") // Close long position before selling

[Link]("Sell", [Link]) // Enter a short position

// Plot the levels for visual reference

plot(highest52Week, color=[Link], linewidth=2, title="52 Week High")

plot(lowest52Week, color=[Link], linewidth=2, title="52 Week Low")


STEPS to use the above Pine Script
Code

[Link] the above code and go to google and type


[Link]

2. Below page will appear.


3. Then click on the top right Man icon and click on sign in.

4. Then you can sign in through your gmail ID or any


email ID that you have.

5. Then click on the search markets here box.


6. In that In that box, you can choose your favourite
segment, like stocks, funds, or forex, where you want to
apply the pine script code. For reference, I am going to
apply this script to hdfc bank stock, so I just search hdfc
bank and click on lunch chart.
7. Below page will appear.

8. Now click on the Pine Editor Tab.

9. Clear everything in the terminal, like shown below.


[Link] paste the pine script in the terminal.

[Link] click on the right-side option named Add to Chart.

[Link] done, you successfully executed the code.

FINANCIAL FREEDOM
ACCELERATOR
Multibagger
Indicator
PineScript
//@version=5
strategy("52-Week High/Low Breakout Strategy", overlay=true)
// Define 52-week high and low
lookbackPeriod = 52
STEPS to use the above Pine Script 
Code
1.Copy the above code and go to google and type 
tradingview.com
2.Below page will a
3.Then click on the top right Man icon and click on sign in.
4.Then you can sign in through your gmail ID or any 
email ID th
6.In that In that box, you can choose your favourite 
segment, like stocks, funds, or forex, where you want to 
apply the pin
7.Below page will appear.
8.Now click on the Pine Editor Tab.
9.Clear everything in the terminal, like shown below.
10.Now paste the pine script in the terminal.
11.Now click on the right-side option named Add to Chart.
12.And done, you succ

You might also like