Search found 4 matches

Go to advanced search

by crazynou
Sat Oct 07, 2023 6:29 am
Forum: Pine Script Q&A
Topic: Syntax error at input '['
Replies: 1
Views: 2334
 
Jump to post

Syntax error at input '['

//@version=5 indicator(title='Binance Order Book Volume Ratio', overlay=true) // Define input options lookback_percent = input.float(1, title='Lookback %', minval=0.1, maxval=10.0, step=0.1) // Define volume ratio thresholds for buy and sell signals buy_volume_ratio_threshold = input.float(1.5, titl...
by crazynou
Fri Oct 06, 2023 2:53 pm
Forum: Pine Script Q&A
Topic: how to use timeframe.period
Replies: 1
Views: 1904
 
Jump to post

how to use timeframe.period

Hello pinescripters,

i have this

TF = input.timeframe(defval = '15', title = "Time Frame")

i want the TF defval change automaticly when i change the time frame

exmpl with timeframe.period :

if timeframe.period == "60"
TF := 15

thank you.
by crazynou
Tue Oct 03, 2023 4:30 pm
Forum: Pine Script Q&A
Topic: a good Engulfing Candle script need to be converted
Replies: 2
Views: 2035
 
Jump to post

a good Engulfing Candle script need to be converted

hello, im new here i need to convert this script from v2 to v5 thank you. //@version2 // Name: Candlestick Trend Indicator v0.5 by JustUncleL // By: JustUncleL // Date: 12-Aug-2016 // Version: v0.5 // // Description: // This is a trend following indicator+stategy for Binary Options // based on Candl...

Go to advanced search