Search found 4 matches

Go to advanced search

by Momen
Thu Jun 24, 2021 2:01 pm
Forum: Pine Script Q&A
Topic: Strange PineScript Issue
Replies: 1
Views: 657
 
Jump to post

Strange PineScript Issue

Team, I wrote this very simple code which basically checks if close is less than open, if is then i just add a label. I added arrays to debug the values, so you may ignore. However, "checkEntryCondition()" function is not working as expected. Although, close & open values are reported correctly. Can...
by Momen
Thu Jun 24, 2021 10:00 am
Forum: Pine Script Q&A
Topic: Coding TV Screener
Replies: 0
Views: 1045
 
Jump to post

Coding TV Screener

Hello Experts,

Can we custom code screeners in TradingView using pine scripts just like we code at scrip level?

Appreciate your inputs.

Regards

Momen
by Momen
Wed Jun 09, 2021 3:55 pm
Forum: Pine Script Q&A
Topic: Difference in values when using default function vs custom code
Replies: 2
Views: 914
 
Jump to post

Re: Difference in values when using default function vs custom code

Hi Matthew, I figured it out. I was passing "close" instead of "low" & "high" to "lowest" & "highest" functions respectively: baseLine = avg(lowest(low, basePeriods), highest(high, basePeriods)) Do you have an example of custom coding a screener in TV? I am struggling with it, perhaps, your course w...
by Momen
Wed Jun 09, 2021 10:04 am
Forum: Pine Script Q&A
Topic: Difference in values when using default function vs custom code
Replies: 2
Views: 914
 
Jump to post

Difference in values when using default function vs custom code

I am working on a strategy based on Ichimoku cloud. When I perform the calculations of various ichimoku components (like baseline, conversionLine, etc) within my script and plot it on the chart and compare it with the built-in Ichimoku cloud there is a difference between all values. Although I am us...

Go to advanced search