Print Page | Close Window

Fun with BullScript

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=36
Printed Date: 20 May 2024 at 5:15am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Fun with BullScript
Posted By: Peter
Subject: Fun with BullScript
Date Posted: 22 Oct 2004 at 10:23am
I was just experimenting with BullScript and created this. Essentially it's just an MMA varient, but it nicely shows off one of the prettier things you can do with BullScript. Thought you guys might like to see.



[target=Price]
expr := expression("Expression");
m := inputma("Method",SIMPLE);
n := input("Shortest", 6,1);
st := input("Step size", 3,1);

res1:= ma(expr,n,m);
res2:= ma(expr,n+st,m);
res3:= ma(expr,n+st*2,m);
res4:= ma(expr,n+st*3,m);
res5:= ma(expr,n+st*4,m);
res6:= ma(expr,n+st*5,m);
res7:= ma(expr,n+st*6,m);
res8:= ma(expr,n+st*7,m);
res9:= ma(expr,n+st*8,m);
res10:= ma(expr,n+st*9,m);

[name=Fill; linestyle=fill]
[color=rgb(0,0,255)]   res1; res2;
[color=rgb(64,0,255)]  res2; res3;
[color=rgb(128,0,255)] res3; res4;
[color=rgb(192,0,255)] res4; res5;
[color=rgb(255,0,255)] res5; res6;
[color=rgb(255,0,192)] res6; res7;
[color=rgb(255,0,128)] res7; res8;
[color=rgb(255,0,64)]  res8; res9;
[color=rgb(255,0,0)]   res9; res10;




Replies:
Posted By: SimonSavva
Date Posted: 24 Oct 2004 at 1:24pm

Thats really cool man....

I dont know how it could help me trade...but damn pretty...just like my girlfriend...hahah

 



Posted By: ChrisR
Date Posted: 03 Nov 2004 at 10:35pm
Hahahaha


Posted By: Decan_Frost
Date Posted: 07 Jan 2005 at 6:06pm

You aint seen nothing,...i,m on the verge of changing a dollar value to a percentage!.

Will keep you posted..............




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