BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: variable bars back
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

variable bars back

 Post Reply Post Reply
Message / View First Unread Post
stefanols View Drop Down

Joined: 29 Jul 2010
Location: Sweden
Posts: 7
Post Options Post Options   Quote stefanols Quote  Post ReplyReply Direct Link To This Post Topic: variable bars back
    Posted: 10 Jun 2018 at 1:58am
Hope someone can assist if this is possible. 

I am trying to determine hight volume 60 bars back and then 
calculate the percent move that specific day from the day before. 

Below you find the code I am trying to work with. 
It says constant integrar fault. 

Best regards


n := input("time periods",60,10); 
res1:= res-1;
(hist(close,res1)-hist(close,res))/ hist(close,res1);

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz