Volume Price Change

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Volume Price Change

Postby minifire18 » Thu Feb 13, 2020 5:16 am

Hi Apprentice
Can you code to draw on the oscillator not on the price action chart peak to previous peak. Using the zigzag for conformation of highs and lows on price, conformation for divergence VPC to cross against the signal line. For the over bought / over sold part use set like on slow stochastics amount above the zero line to be classed as over bought and amount below the zero line to be classed as oversold and have the zero cross alert and signal cross alert on the oscillator not on the price action

000.jpeg


Thanks minifire
minifire18
 
Posts: 54
Joined: Tue Dec 11, 2018 8:43 am

Re: Volume Price Change

Postby minifire18 » Mon Mar 09, 2020 4:03 am

Hey Apprentice & team
can this task be put on the development list as per request to draw on the oscillator not on the price action thanks
ninifire
minifire18
 
Posts: 54
Joined: Tue Dec 11, 2018 8:43 am

Re: Volume Price Change

Postby Apprentice » Mon Mar 09, 2020 6:27 am

Your request is added to the development list.
Development reference 835.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 26048
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Price Change

Postby Apprentice » Tue Mar 10, 2020 6:18 am

Volume Price Change Divergence.lua
(13.94 KiB) Downloaded 123 times

I didn't manage to find any divergences. The case on the screenshot doesn't have a divergence: lines are misaligned. Our divergence algorithm doesn't allow any tolerance on divergence.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 26048
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Price Change

Postby minifire18 » Tue Mar 10, 2020 10:10 am

Hi Apprentice,
When scroll back on chart get this error code.
An error occurred during the calculation of the indicator 'VOLUME PRICE CHANGE DIVERGENCE 10.3.20(US30.Close, 15, 15)'. The error details: C:/Program Files (x86)/Candleworks/FXTS2/Indicators/Custom/Volume Price Change Divergence 10.3.20.lua:162: Specified index is out of range.
Also can it be calculated from using zigzag and conformation VPC crosses signal line as in screenshot the 1st divergence is not going from peak to peak or trough to trough but cutting trough, and would be able to add the zero line and alerts when VPC crosses the signal line and if you can add a histogram with 4 colour option (2 colour above the zero line and 2 colour below as like in the trix lua
thank you guys
minifire
10.3.jpeg
minifire18
 
Posts: 54
Joined: Tue Dec 11, 2018 8:43 am

Re: Volume Price Change

Postby Apprentice » Tue Mar 10, 2020 12:14 pm

Your request is added to the development list.
Development reference 850.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 26048
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Price Change

Postby Apprentice » Wed Mar 11, 2020 5:07 am

Volume Price Change Divergence.lua
(12.88 KiB) Downloaded 134 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 26048
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Price Change

Postby minifire18 » Thu Mar 12, 2020 3:09 am

Hi Apprentice & Team,
No problems with scrolling back thanks,can you add alerts when VPC crosses the signal line and and if you can add a histogram with 4 colour option (2 colour above the zero line and 2 colour below as like in the trix lua
thank you guys
minifire18
 
Posts: 54
Joined: Tue Dec 11, 2018 8:43 am

Re: Volume Price Change

Postby Apprentice » Thu Mar 12, 2020 5:58 am

Your request is added to the development list.
Development reference 855.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 26048
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Price Change

Postby Apprentice » Fri Mar 13, 2020 5:29 am

Volume Price Change Divergence.lua
(33.92 KiB) Downloaded 120 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 26048
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 18 guests