Print Page | Close Window

Auto Envelopes

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


Topic: Auto Envelopes
Posted By: Bana
Subject: Auto Envelopes
Date Posted: 11 Apr 2009 at 9:35am
Hi All

Below is formula in Metastock for Autoenvelopes as discussed in Alexander Elder's books. Is it possible to convert them to bullscript?
thanks

{user inputs} file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml -

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - pds:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - input file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ( file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - "EMA periods" file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - 1, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - pdsBak:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - input file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ( file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - "lookback periods" file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - 1, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - x:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - input file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ( file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - "use: Open=1, High=2, Low=3, Close=4, WClose=5" file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - 1, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - plot:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - input file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ( file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - "[1]AutoEnvelope, [2]Long signals, [3]All signals" file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - 1, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - delay:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - input file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ( file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - "Entry/Exit signals delay" file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - 0, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml -  

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - { Price field }

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - x:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (x=1, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - O file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (x=2, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - H file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (x=3, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - L file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - , file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (x=5,WC(), file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - C file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ))));

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml -  

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - { Envelope bands }

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Avg:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ma file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (x,pds, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - E file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - );

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - hiAvg:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - HHV file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ( file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - H file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ,pdsBak);

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - loAvg:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - LLV file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ( file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - L file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ,pdsBak);

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - shift:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - ( - (hiAvg>Avg,hiAvg-Avg,Avg-loAvg),pds, - );

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - UpperBand:=Avg+shift;

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - LowerBand:=Avg-shift;

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml -  

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - { Envelope signals }

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - In:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Cross file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (x,LowerBand);

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Out:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Cross file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (x,UpperBand);

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Init:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Cum file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (In+Out>-1)=1;

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - InInit:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Cum file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (In)=1;

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - flag:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - BarsSince file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (Init file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - In)

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - < file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - BarsSince file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (Init file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - Out)+InInit;

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - signals:= file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - Ref file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - ((InInit file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - Alert(InInit=0,2)

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - OR file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - AND file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - -(flag=0 file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - - Alert(flag,2)),-delay);

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml -  

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - { Plot envelope on price chart }

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (plot=1,UpperBand, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (plot=2,signals,In-Out));

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (plot=1,Avg, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (plot=2,0,0));

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (plot=1,LowerBand, file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - If file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - (plot=2,signals,In-Out));

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml -  

file:///C:%5CDOCUME%7E1%5CPankaj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml -



Replies:
Posted By: Bana
Date Posted: 12 Apr 2009 at 4:52pm
Got this MS formula for the same thing from another web source. The parameters of this 
look more closer to description in the book, as compared to the previous formula so please ignore it.


EMA:=input("Base EMA", 22, 1, 100);
Factor:=input("Factor", 27, 1, 50);
avg:=ma(C,EMA,E);
csize:= Stdev(2*Max(Abs(H-avg) ,Abs(L-avg)) / avg,100)*Factor/10; {Use 100 days for stable channel size - default is 2.7 std}
Csize:= ValueWhen(1, DayOfWeek()<Ref(DayOfWeek() ,-1) OR ( DayOfWeek()=Ref(DayOfWeek(),-1) AND DayOfMonth() <> Ref(DayOfMonth(),-1)) ,Ref(csize,-1)); { This pegs the Stdev to last bar of week and only changes once per week}
csize:=LastValue(csize); {fix to constant using last value}
channel:=csize*avg;
avg+channel/2;
avg-channel/2;
avg;



Posted By: maximo
Date Posted: 12 Apr 2009 at 11:46pm

Okay, there you go, looks okay for testing a breakout strategy.

[target=price]

EMA:=input("Base EMA",22,1);

Factor:=input("Factor",27,1);

avg:=ma(C,EMA,E);

asize:= Stdev(2*Max(Abs(H-avg) ,Abs(L-avg)) / avg,100)*Factor/10; {Use 100 days for stable channel size - default is 2.7 std}

bsize:= ValueWhen(1, DayOfWeek()<Ref(DayOfWeek() ,-1) OR ( DayOfWeek()=Ref(DayOfWeek(),-1) AND DayOfMonth() <> Ref(DayOfMonth(),-1)) ,Ref(asize,-1)); { This pegs the Stdev to last bar of week and only changes once per week}

csize:=LastValue(bsize); {fix to constant using last value}

channel:=csize*avg;

avg+channel/2;

avg-channel/2;

avg;

 



Posted By: Bana
Date Posted: 13 Apr 2009 at 12:28pm
Thanks Maximo. You are a genius with Bullscript.

I am trying to follow Dr Alexander Elder's short term trading within the channels, as described in 'Come into my Trading Room.


Posted By: maximo
Date Posted: 18 Apr 2009 at 7:46pm
I will have a read of his book :)
 
Here's a link to a report & a couple of videos which present the idea of combining all 3 market conditions into 1 trading plan using a channel.  
Actually there's also a few mechanical systems that have been using this idea for over 15 years in the live market.  eg. R-breaker + R-Levels by Richard Saidenberg and Cyclone system by Clayburg. 
 
http://click.icptrack.com/icp/relay.php?r=11139898&msgid=87776&act=FGG9&c=430670&admin=0&destination=http%3A%2F%2Fwww.triadformula.com%2Freport-thanks.html - http://www.triadformula.com/report-thanks.html
 
http://triadformula.com/blog/ - http://triadformula.com/blog/


Posted By: Bana
Date Posted: 01 Sep 2010 at 9:51pm
Hi Maximo

The formula in your post 159 above --- is it possible to fill the channel with any color?

cheers
Bana


Posted By: maximo
Date Posted: 03 Sep 2010 at 10:21pm
Yes,  just add these 2 lines onto the end of that code.
 

[name=Envelope Fill; linestyle=fill; color=blue]

avg+channel/2; avg-channel/2;



Posted By: Bana
Date Posted: 06 Sep 2010 at 9:57am
Thanks........it works great.



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