Search found 2 matches

Go to advanced search

by allan7
Wed Dec 27, 2023 1:53 pm
Forum: Pine Script Q&A
Topic: Combining two indicators in one script
Replies: 2
Views: 3684
 
Jump to post

Re: Combining two indicators in one script

Thx for the inputs, I changed src in moving avg code to src1 but it still shows "cannot compile script" and that too in the bottom panel while both the indicators are supposed to be plotted in upper panel along with the price bars. The overlay = true for both the indicators.
by allan7
Sun Dec 24, 2023 8:35 am
Forum: Pine Script Q&A
Topic: Combining two indicators in one script
Replies: 2
Views: 3684
 
Jump to post

Combining two indicators in one script

Am very new to pinescript so need help. Trying to combine 2 indicators of PS version 5 into once script on overlay i.e. in the price charting area not the bottom. But it just goes into the bottom area with error code "can't compile this script." Here is code for main indicator i.e. SuperTrend Channe...

Go to advanced search