Click here to Login





                                                   change color of Ichimoku Cloud and plot the cloud in future 26 bars

  0

0
Win
2015-08-18 22:30:35


I'd like to plot Ichikmoku Cloud in different color based on the the sign of difference of SpanA and SpanB. Is there any workaround method to PLOT1 to achieve it.
Also, is ther any way to plot the cloud in 26 bars ahead.
Thanks!



QuantShare
2015-08-19 03:48:12

  0

You can use "UpdateColor" function just after the plot.
Example:
UpdateColor(close > open, colorGreen);

Regarding the cloud 26 bars ahead, you can use the "UpdateSettings" function just after the plot
Example:
UpdateSettings("MoveToFuture", 26);

Make sure you do not use ref(xxx, -26) at the same time.



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
Top 20 stocks with the highest 10 day rate of change - Current an...
Trading Indicator: True between the first and last signal
Stop Loss for the N-first Trading Bars only
Market Rule based on the Crossover Between Stock Close prices and...
Stock Ranking using Rate of Change and SMA Volume

How-to Lessons
How to plot support and resistance lines automatically
How to change volume bar colors when the price closes down
How to plot the ratio of two stocks
How to add future bars to plan for market scenarios
How to plot the number of stock tweets per day

Related Forum Threads
how to add buy condition when the color change
Plot text and variable in the same line
plot values on future bars
Basic features and some issues with the background
Replacing value for the last 100 bars (end of day data)

Blog Posts
Backtesting chart patterns using the auto support and resistance ...
Running QuantShare on Amazon's EC2 Cloud & Automate Strategies Si...
How to Calculate and Display the Bid/Ask Spread on a Chart
3 Items To Get and Trade the News In QuantShare Platform
How to predict and trade the stock market using pivot points









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.