Click here to Login





                                                   bollinger band & rsi formula

  0

0
kulkarni
2010-05-06 08:15:44


hello,
how can i wright formula of Stock price touches the lower Bollinger Band and RSI is less than 30-buyrule &Stock price touches the upper Bollinger Band and RSI is greater than 70 - sell rule?
this two rule i want to plot on chart ?
my second ques. is how can select green candle means , if my formula which is indicate buy signal but i want addition that genereate signal if it is green candle
e.g. formula-
minus_dm(14)cross above plus_dm(14)then genrate buy signal but in this case iwant that the candle was a green color



QuantShare
2010-05-06 10:30:16

  0

Best Answer
Hi,

Here is the Bollinger Bands and RSI rules:

buyrule = cross(BbandSlower(14, 2, _MaSma), close) and rsi(14) < 30;
sellrule = cross(close, BbandsUpper(14, 2, _MaSma)) and rsi(14) > 70;
PlotArrow(buyrule, "Buy", BelowLow, colorGreen);
PlotArrow(sellrule, "Sell", AboveHigh, colorRed);

Green candles occur when the close price is higher than the open price:
rule = close > open;



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
Percent Bollinger Bands
Connors RSI
Bollinger Strategy
Trading based on Boillinger Lower Band position on defined Market
Ratio of Stocks above and below Bollinger Bands

How-to Lessons
How to create a formula
How to display the number of stocks per day for different RSI gro...
How to create a watchlist
How to create a custom trading indicator
How to create a moving average of an indicator

Related Forum Threads
Lookback period on Bollinger Band cross
How to RSI
Plot differnt line style when RSI above or below 80/20 lines
BSignalLong Formula
formula use all over

Blog Posts
Working with the formula editor
Create a Pivot Table that displays the Relative Strength Index - ...
4 original breadth indicators you should consider in your market ...
Money Management: Scale-in Trading Strategy
Different Types of Trading Indicators: Trend, Momentum, Volatilit...









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.