Click here to Login

                                                   Time cycle indicators


Obuli Govindaraju
2011-11-22 13:26:38

I am in the process of writing code to draw some time cycle based indicators.

The concept is rather simple where a cycle start date and end date will be given and some sort of drawing maybe a triangle will be drawn on the pane below the chart.

The first challenge I see is that there is no DateTime function in the Create Function editor. However Script Editor has that. Is it possible to access Script Editor functions from within Create Functions?

Also I searched for Time based indicators and couldn't find one. Any pointers?


2011-11-24 02:53:58


Best Answer
Here is how to get the date vector:

VectorDate dates = cFunctions.Date;

No more messages


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"


Trading Items
Technical indicators time series
Export Indicators Data - Custom Time Frame
Export Indicators Data with Filtering and Column Labels Support
Time Segmented Volume
Percent of Time Spent Above a Moving Average

How-to Lessons
How to drag & drop indicators in charts
How to hide a trading indicator from a particular time frame
How to detect stocks trading near all time highs
How to plot two different time frames in the same chart
How to calculate the average of a time series using the money man...

Related Forum Threads
Plotting Multiple time frame indicators
Real Time Tick Data
Dynamic Watchlist update for each time step during a simulation?
Real Time Update?
First time here. Questions about Excel and Quantshare

Blog Posts
Statistical data analysis of time series
Learn How to Create Your Own Technical Analysis Indicators
How to Pick the Best Trend Indicators
3 Market Indicators based on Fundamental Data
Fundamental analysis: How to track economic indicators in the For...

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2019
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.