Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   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
Number of Stocks Above Upper Bollinger Bands
Trading by VIX Bollinger Bands
Percent Bollinger Bands smothed with exponential Moving Average
Bollinger Bands and Fibonacci Ratios

How-to Lessons
How to display the number of stocks per day for different RSI gro...
How to create a formula
How to create a moving average of an indicator
How to create a custom trading indicator
How to plot the relative performance of several stocks/indices

Related Forum Threads
How to RSI
BSignalLong Formula
formula use all over
Screen formula
Error in formula

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 ...
Composite Indicators
Custom Indicator: Moving average spread









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items