Click here to Login





                                                   Plot solid decimal numbers

  0

0
Ayden Nash
2015-12-29 22:43:48


I'm trying to draw a solid line for an indicator, and this doesn't seem to work:

plot(1.5, "Moderate", colorRed, ChartLine, StyleOwnScale);

Is there a problem with using decimals in that field? Whole numbers work fine.



QuantShare
2015-12-30 02:12:14

  0

The line you are plotting would have its own scale (StyleOwnScale). You should use this style instead: StyleSymbolNone


Ayden Nash
2016-01-02 20:40:58

  0

Awesome that worked. Thanks :)


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
LSS Pivotal Buy and Sell Numbers - Trend Reaction
Plot Economic Indicators on a Chart
Transform Double To Comma Separated Representation
Fibonacci retracement: Golden ratio
Historical Earnings Surprise, EPS and Consensus Data

How-to Lessons
How to plot news on a chart?
How to plot two different time frames in the same chart
How to plot arrows below/above candlesticks on a chart
How to plot the relative performance of several stocks/indices
How to plot the number of stock tweets per day

Related Forum Threads
Plot differnt line style when RSI above or below 80/20 lines
Unwanted Decimal Places
Plot Threshold Lines
Chart Decimal Point
change color of Ichimoku Cloud and plot the cloud in future 26 ba...

Blog Posts
More about QuantShare Programming Language
How to create a trading system, screen and composite using earnin...
QuantShare Trading Software: New Features in the 3.7.0 Version
Inverse Fisher Transform: Indicator, composite and trading system
5 position sizing techniques you can use in your trading system









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.