Search found 2 matches

Go to advanced search

by mastermind007
Wed Mar 31, 2021 8:00 pm
Forum: Pine Script Q&A
Topic: Fetching stocks matching a strategy
Replies: 2
Views: 1105
 
Jump to post

Re: Fetching stocks matching a strategy

Convert your strategy into a function which returns boolean customFunc() => boolVal = close > open [close, boolVal] [vl01, ln01] = security("TATASTEEL", timeframe.period, customFunc ()) ...... // few more such scripts [vl20, ln20] = security("ACC", timeframe.period, customFunc ()) //create label to ...
by mastermind007
Wed Mar 31, 2021 6:13 pm
Forum: Pine Script Q&A
Topic: Searhing for lowestsince function
Replies: 0
Views: 996
 
Jump to post

Searhing for lowestsince function

Hello I have been programming in many trading related languages but getting stumped on this bit here... AFAIK, there are two primary functions to determine lowest value over certain number of bars which look like follows lowest (length) /// price series is assumed as low lowest(priceseries, length) ...

Go to advanced search