Print Page | Close Window

Adaptive Elastic Weighted MA

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: BullScript
Forum Discription: Technical discussion related specifically to the BullScript programming language.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=1020
Printed Date: 30 Apr 2024 at 6:03am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Adaptive Elastic Weighted MA
Posted By: maximo
Subject: Adaptive Elastic Weighted MA
Date Posted: 19 Feb 2018 at 4:46pm
[Description="Adaptive Elastic Volume Weighted Moving Average"; Author=Max]
factor:=Input("Weighting ",14);
[target=price]
n:=ma(V,100,S)*factor; { 100 days volume }
VWMA:= ((n-V)*PREV+(V*C))/n;
[color=rgb(128,128,255); width=2]
VWMA;
[linestyle=pricecolor]
[color=rgb(0,174,0)] if(C>=VWMA,1,0);
[color=rgb(255,85,85)] if(C<VWMA,1,0);





Replies:
Posted By: SayaPolo
Date Posted: 02 Apr 2020 at 3:30pm

Hi Maximo,

Thanks you for posting the “Adaptive Elastic Volume Weighted Moving Average” indicator. I have applied it on some charts and it looks very promising.  I am trying to create a scan for stocks whose close crosses above this indicator. However in the Parameters area, Bull chart ask me to use results #1,#2 or #3. Do you know what this means? Would appreciate very much if you can assist me in creating a scan. Many thanks.

Cheers.



Posted By: maximo
Date Posted: 27 Apr 2020 at 2:05am
The #numbers apply to the use of indicator variables in sequence.
You probably want to use a Close greater or less than #3
As a filter you could also try two or more Closes greater or less than #3 VWMA
So a rule might be to exit on two red bars or re-enter on two green bars.

#1  =factor
#2  =n
#3  =VWMA



Posted By: SayaPolo
Date Posted: 27 Apr 2020 at 7:55am
Thank you Maximo. Will give it a try.

Cheers,
SayaPolo



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.69 - http://www.webwizforums.com
Copyright ©2001-2010 Web Wiz - http://www.webwiz.co.uk