You are not using the correct syntax: http://www.amibroker.com/guide/afl/afl_view.php?id=5
Bill ----- Original Message ----- From: murthysuresh To: [email protected] Sent: Thursday, August 21, 2008 9:56 AM Subject: [amibroker] background color does not change 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 No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.6/1625 - Release Date: 8/21/2008 6:04 AM
