Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Custom Indicator

  0

0
Mark
2010-11-18 01:47:54


Hi,

How can I Plot a three-period RSI of a one-period rate of change (the daily net change).
This indicator will be an oscillator between 0 to 100 with 2 horizontal lines indicating the 70 and 30 levels.
--------------------------------------------------------------------------------------------------------------------------------------------

Also how can I calculate and plot a short-term pivot point for the 2-period rate of change on daily chart:
i.e. Subtract today's close from the close two days ago (not yesterday but the day before). Thus, close (day one) - close (day three) equals
the 2-period rate of change. Add this number to yesterday's closing price (day two). This will be the short-term pivot number.

Thank you very much.

Mark



Mark
2010-11-18 01:50:30

  0

For the 2nd query, I tried the below formula in custom drawing tools but it gave me an error:

PV = ref(close, 1) + (Close - ref(close, 2));
plot(PV, "-", colorgreen, chartline, stylesymbolnone);



QuantShare
2010-11-18 04:22:26

  0

Best Answer
- 3-Bar RSI of one-bar close change:
a = rsi((close - ref(close, 1)), 3);
plot(a, "RSI-Change", colorBlue);
plot(70, "", colorGreen, ChartLine, StyleSymbolNone);
plot(30, "", colorRed, ChartLine, StyleSymbolNone);

- Custom drawing plug-in allows you to enter scripts not QuantShare formulas.
To enter formulas, right click on a chart and select "Edit formula".
Please select Help -> QuantShare Lessons for more information.

Your formula for the pivot point is correct.



Mark
2010-11-18 05:01:40

  0

Thank you very much. It works perfectly.

Regards,

Mark



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
Maximum Drawdown Composite Indicator
Forex Trading Indicator - Better than expected Economic Calendar ...
Lagged Data From a Custom Database
Put Call Volume Comparison Indicator
Short to Long-Term Volatility Indicator based on High/Low Trading...

How-to Lessons
How to create a custom trading indicator
How to add a trading indicator to a chart
How to use a custom drawing tool
How to create a moving average of an indicator
How to hide a trading indicator from a particular time frame

Related Forum Threads
custom indicator
Retrieving or storing previous indicator result.
Indicator in a report
Can you access custom functions from the downloader script events...
Best way to precompute a custom formula and store it

Blog Posts
How to create the advance/decline market breadth indicator
Custom Indicator: Accumulation Distribution Line
Custom Indicator: Relative Strength
Custom Indicator: Moving average spread
The custom trading indicators tool explained









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items