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

[amibroker] Re: TRIN



PureBytes Links

Trading Reference Links


Tomasz,
I was surprised to read that esignal only provides EOD $Trin data.  
I use the following formula on tick charts (Tick database) and it 
works fine with the esignal feed.

SetForeign("$trin",True,True);
VAL1=C;
Plot (VAL1,"",colorBlack,styleThick,styleOwnScale);
COLOR=
(VAL1<=0.29)*colorBlack+
(VAL1>=0.30)*(VAL1<0.60)*colorGreen+
//Ultra Bullish Reading//
(VAL1>=0.60)*(VAL1<0.80)*colorSeaGreen+//Bullish Reading//
(VAL1>=0.80)*(VAL1<0.85)*colorLime+
(VAL1>=0.85)*(VAL1<0.90)*colorBrightGreen+
(VAL1>=0.90)*(VAL1<0.95)*colorBlue+//Neutral Reading//
(VAL1>=0.95)*(VAL1<1.01)*colorYellow+//Neutral Bearish//
(VAL1>=1.01)*(VAL1<1.2)*colorPink+//Bearish//
(VAL1>=1.2)*(VAL1<1.8)*colorRed+//Bear Ugly//
(VAL1>=1.8)*colorOrange;//OverCooked, look for Bounce//
Plot( 10, "Ribbon", COLOR,styleOwnScale|styleArea|styleNoLabel,2,5 );
_N( Title  = Name()
		+ "  " + Interval( format = 2 )
		
		+  "       CURRENT: " + WriteVal(Val1,1.2));
 

Regards,

David K.



--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:
> Hello,
> 
> It works for me (in EOD database).
> 
> Did you add $TRIN and $TRINQ via Symbol->New ?
> 
> Please note that eSignal delivers only END-OF-DAY data for $TRIN 
and $TRINQ
> so they can be displayed only when database is End-of-day database.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Ara Kaloustian" <ara1@xxxx>
> To: "AB-Main" <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, November 15, 2004 11:09 PM
> Subject: [amibroker] TRIN
> 
> 
> >
> > Symbols $TRIN (NY Trin) and $TRINQ (NASDAQ Trin) display OK on 
eSignal software ... but I can not get values into AB. Everything 
> > else is normal.
> >
> > The lines below contain EMPTY arrays.
> >
> > Anyone seen this problem before?
> >
> > Thanks
> >
> > Ara
> >
> > "TRIN-NY " + WriteVal(Foreign("$TRIN", "C"),1.2);
> >
> > "TRIN-Q " + WriteVal(Foreign("$TRINQ", "C"),1.2);
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at: 
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> 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/