Search found 3 matches

Go to advanced search

by crypturtle
Mon Apr 04, 2022 3:19 am
Forum: Pine Script Q&A
Topic: Tradingview long and short position Tool
Replies: 1
Views: 988
 
Jump to post

Tradingview long and short position Tool

Hi everyone,

I have noticed that the Tradingview long and short position Tool default value is pretty good to use as stop loss and take profit, at least for my strategy. Does anyone know how this tool compute the default value ?
by crypturtle
Tue Feb 01, 2022 8:01 pm
Forum: Pine Script Q&A
Topic: Convert pine script old version to version 5
Replies: 4
Views: 1558
 
Jump to post

Re: Convert pine script old version to version 5

Thank you very very very much processingclouds! its finally working.
I had try to declare filt=0.0 outside, just before the ssfilter function and it wasn't working.

anyway, thank you again.
by crypturtle
Tue Feb 01, 2022 4:07 am
Forum: Pine Script Q&A
Topic: Convert pine script old version to version 5
Replies: 4
Views: 1558
 
Jump to post

Convert pine script old version to version 5

Hello, I recently start to learn Pine code few weeks ago (huge thanks to Mathew for the fantastic tutorial !!!). I am trying to convert an old code I found from #madrid into version 5 ssFilter( price, lowerBand ) => angle = sqrt(2)*PI/lowerBand a1= exp(-angle) b1 = 2*a1*cos(angle) c2 = b1 c3 = -a1*a...

Go to advanced search