Search found 2 matches

Go to advanced search

by bogdanvlad
Thu Sep 01, 2022 11:57 am
Forum: Pine Script Q&A
Topic: Sum of daily values during that week on the weekly chart?
Replies: 0
Views: 4956
 
Jump to post

Sum of daily values during that week on the weekly chart?

Hello! I have the following script to plot the new highs of NASDAQ on the daily chart: //@version=5 indicator(title='New Highs NASDAQ') highNsdaq = request.security('higq', timeframe.period, close) plot(highNsdaq, title='New Highs NASDAQ', color=#B2B5BE) But, let’s say that the new highs have the fo...
by bogdanvlad
Mon Mar 07, 2022 8:20 pm
Forum: Share Your Scripts
Topic: Find MACD Divergence with specific MACD proportions
Replies: 0
Views: 5001
 
Jump to post

Find MACD Divergence with specific MACD proportions

0 Hello! I'm a total beginner... The code below finds a MACD Divergence when the height of B is no more than 1/2 the height of A (see image in the link below). No matter what I try, I cannot find a way to make the code find the divergence only when also C is no more than 1/2 the height of A. Anybody...

Go to advanced search