Click here to Login

How to hide a trading indicator from a particular time frame

Updated on 2011-10-08 04:20:58

Share |

Working with intraday data is different from working with EOD data in many aspects and ways. Sometimes you plot an indicator in an intraday chart that has little or no value when applied to EOD data. In this particular case, you want to hide it when you switch to the EOD view (Right click on the chart then "Switch to Historical").

Example of such function is the next one which returns one when the current bar hour is equal to two:
a = hour() == 2;
plot(a, "");


- Select a chart then right click on it
- Select "Edit formula"
- Use the left and right arrow to choose the formula you want to hide from a particular period type
- Type the following line:

UpdateSettings("Hide Formula in EOD Chart", 1);

This function instructs QuantShare trading software to ignore the formula when you switch to EOD view.

Other available values:
Hide Formula in Intraday Chart: Hide the formula when intraday view is selected
Hide Formula in Tick Chart: Hide the formula in a tick chart

no reviews (Log in)

Other how-to articles

How to generate buy/sell signals from a trading system

How to add a trading indicator to a chart

How to hide stock data outside of regular trading hours

How to create a custom trading indicator

How to get trading orders from a portfolio programmatically

How to import trading items from other accounts

How to optimize an indicator in your trading system

How to download a trading item from the Sharing Server

How to detect stocks trading near all time highs

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

Copyright 2024
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.