[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] background color does not change



PureBytes Links

Trading Reference Links

Title: Re: [amibroker] background color does not change

You forgot the format argument:


AddColumn( array, name, format = 1.2, textColor = colorDefault, bkgndColor = colorDefault, width = -1 ) 


herman



Thursday, August 21, 2008, 9:56:19 AM, you wrote:


> i am trying to have a different colored background for the AddColumn 

> and it does not change.


ADXRising =ADX()>>Ref(ADX(),-1) AND Ref(ADX(),-1)>Ref(ADX(),-2)  AND 

(ADX(14)>>20) ;

> CCIval=CCI(14);



> newHigh=False;

> newLow=False;

> yesterdayHigh=TimeFrameGetPrice( "H", inHourly, -1 ) ;

> yesterdayLow=TimeFrameGetPrice( "L", inHourly, -1 ) ;





>                 newHigh= C>=Ref(yesterdayHigh,-1);

>                 newLow=C<=Ref(yesterdayLow,-1);


>         CCITurningDown=CCIval<Ref(CCIval,-1) AND Ref(CCIval,-1)>Ref

> (CCIval,-2) AND Ref(CCIval,-2)>Ref(CCIval,-3)  AND Ref(CCIval,-3)>Ref

> (CCIval,-4) AND (newLow OR Ref(newLow,-1));

CCITurningup=CCIval>>Ref(CCIval,-1) AND Ref(CCIval,-1)<Ref(CCIval,-2) 

> AND Ref(CCIval,-2)<Ref(CCIval,-3)  AND Ref(CCIval,-3)<Ref(CCIval,-4) 

> AND( newHigh OR Ref(newHigh,-1));



> AddColumn( newHigh,"newHigh");

> AddColumn( newLow,"newLow");

> AddColumn( CCITurningDown,"CCI Turning Down",colorGreen, colorRed);

> AddColumn( CCITurningup,"CCI Turnign Up",colorOrange, colorGreen);


> //AddColumn( ADXRising,"ADXRising");

> Filter=Buy=newHigh OR newLow OR CCITurningup OR CCITurningDown ;


> see screenshot.

> http://screencast.com/t/FDpfXhosyYC




> ------------------------------------


> Please note that this group is for discussion between users only.


> To get support from AmiBroker please send an e-mail directly to 

> SUPPORT {at} amibroker.com


> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

> http://www.amibroker.com/devlog/


> For other support material please check also:

> http://www.amibroker.com/support.html

> Yahoo! Groups Links


> <*> To visit your group on the web, go to:

>     http://groups.yahoo.com/group/amibroker/


> <*> Your email settings:

>     Individual Email | Traditional


> <*> To change settings online go to:

>     http://groups.yahoo.com/group/amibroker/join

>     (Yahoo! ID required)


> <*> To change settings via email:

>     mailto:amibroker-digest@xxxxxxxxxxxxxxx 

>     mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx


> <*> To unsubscribe from this group, send an email to:

>     amibroker-unsubscribe@xxxxxxxxxxxxxxx


> <*> Your use of Yahoo! Groups is subject to:

>     http://docs.yahoo.com/info/terms/



__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___