Click here to Login





                                                   Bullish Bearish Indicator on Bottom Bar

  0

0
Raju Harchandani
2010-11-13 23:41:51


How can one have a bullish(green box extending from say one period to another) based on a formula say "Macd crosses below" zero(this is an example)and a bearish phase (red/hatched lines whatever) likewise when the condition is oppsite
Also at the same time the dates should show through the green /Red /Pink boxes on the x axis



QuantShare
2010-11-15 05:51:36



Are you looking for something like this:

a = rsi(14) > 70;
plot(a, "", colorGreen|50|colorGreen|50|90, ChartStep);
UpdateColor(1, colorTransparent);

a = rsi(14) < 70;
plot(a, "", colorRed|50|colorRed|50|90, ChartStep);
UpdateColor(1, colorTransparent);



Raju Harchandani
2010-11-16 01:42:20



Wonderful....worked in a new pane..(did not in an existing pane having an existing chart) can i make it hatched and appear on the x axis to save real estate


QuantShare
2010-11-16 12:23:22



- To use it in a chart with other indicators just add the "StyleOwnScale" style:
plot(a, "", colorGreen|50|colorGreen|50|90, ChartStep, StyleOwnScale);

- Both suggestions (full pane and hatched) will be available in the next release.



QuantShare
2010-12-01 05:16:12



Here is the new formula: (full pane and hatched)

a = rsi(14) > 60;
plot(a, "", colorGreen|250|colorGreen|250|90, ChartStep);
UpdateColor(1, colorTransparent);

a = rsi(14) < 60;
plot(a, "", colorRed|250|colorRed|250|90, ChartStep);
UpdateColor(1, colorTransparent);
SetHatchBrush("BackwardDiagonal", colorBlue);

UpdateSettings("Full Pane", 1);




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
TSP Sentiment Survey - Percentage of Bullish and Bearish Traders
Industry Measure: Ratio of Bullish to Bearish All-Star Traders Pi...
Williams AD - Accumulation Distribution Indicator
The DeMark's DeMarker indicator
Percent Rank Market Indicator

How-to Lessons
How to hide a trading indicator from a particular time frame
How to change volume bar colors when the price closes down
How to dynamically update the settings of an indicator
How to create a moving average of an indicator
How to add a trading indicator to a chart

Related Forum Threads
Indicator - forward bar value
Bullish vs Bearish Candle patterns
Indicator for price
Need assistance with C# creating an indicator
hourly bars bottom of the hour

Blog Posts
Detect chart patterns using the auto support/resistance indicator
How to Select the Best Market Indicator for your Trading System
Backtesting chart patterns using the auto support and resistance ...
How to create a trading indicator that uses stock news
How to create the advance/decline market breadth indicator









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.