Click here to Login





                                                   guru ,Accumulation Swing Index(asi)

  0

0
srishail
2010-11-20 05:06:41


guru these are few thing i am listing ,how can we use this in quantshare,
LC:=REF(CLOSE,1);
AA:=ABS(HIGH-LC);
BB:=ABS(LOW-LC);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC-REF(OPEN,1));
R:=IF(AA>BB & AA>CC,AA+BB/2+DD/4,IF(BB>CC & BB>AA,BB+AA/2+DD/4,CC+DD/4));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=16*X/R*MAX(AA,BB);
ASI:SUM(SI,0)
see this link http://img502.imageshack.us/img502/6687/90296060.jpg

Category Method Parameter Return Description

Basic Math functions ABS(d) :Number Number Absolate value, will return double.

Logic functions IF(f1,f2,f3 f1:Data Array Data Array If f1>0 return f2 , otherwise return f3
f2:Data Array
f3:Data Array

.String functions IF(Cond,s1,s2) Cond:Data Array String return s1 if Cond is true, otherwise return s2.

s1:String
s2:String



QuantShare
2010-11-20 05:29:51

  0

Best Answer
ABS = Absolute
IF = IFF
String IF = IffStr

The formula is:

LC=Ref(CLOSE,1);
AA=Absolute(HIGH-LC);
BB=Absolute(LOW-LC);
CC=Absolute(HIGH-REF(LOW,1));
DD=Absolute(LC-REF(OPEN,1));
R=Iff(AA>BB and AA>CC,AA+BB/2+DD/4,Iff(BB>CC and BB>AA,BB+AA/2+DD/4,CC+DD/4));
X=(CLOSE-LC+(CLOSE-OPEN)/2+LC-Ref(OPEN,1));
SI=16*X/R*MAX(AA,BB);
plot(SI, "");



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Accumulation Swing Index
Accumulation Swing Index (To measure long term trends)
Swing Index Indicator
Swing Simulation
Swing Indicator

How-to Lessons
How to automatically arrange charts?
How to plot the relative performance of several stocks/indices
How to plot the number of stock tweets per day
How to execute a script at regular intervals
How to hide a trading indicator from a particular time frame

Related Forum Threads
Guru check this link
guru The ticker symbol for
guru link problem
guru , Static watchlist
guru , interaday nifty future

Blog Posts
Custom Indicator: Accumulation Distribution Line
Create indicators, composites and trading systems using QL and CS...
Technical Analysis Using Multiple Timeframes - Second Part
What's new in this trading software?
Organizing Trading Objects









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.