Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   any one make rule for macd

  0

0
kulkarni
2010-04-16 05:33:53


hi
i am not atechnical man i cant wright following type of rule. please any one give me that.

1. MACD is in its peak and the RSI is at 80
2. MACD is in its most trough and the RSI is at 20.

If a buy/sell signal is given when these 2 conditions are met, it might generate moderate revenues without loosing moeny



QuantShare
2010-04-16 14:19:35

  0

Best Answer
Hi,

First rule:
rule1 = hhv(Macd(), 30) == Macd() and rsi(14) >= 80 and rsi(14) < 81;
MACD is in its peak for the last 30 bars

Second rule:
rule2 = llv(Macd(), 30) == Macd() and rsi(14) <= 20 and rsi(14) > 19;
MACD is in its most trough for the last 30 bars



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
Strategy Indicator - Percent winning trades for a trading rule
Transform any order into a limit order selectively based on a tra...
Intraday Data for US Stocks
Average Performance of a trading rule during that past N days
Average Stock Performance for each U.S Exchange

How-to Lessons
How to quickly download the most recent EOD data for your stocks
How to add future bars to plan for market scenarios
How to screen for stocks having a high correlation with the Dow J...
How to download earnings calendar data for various stocks
How to display the number of stocks per day for different RSI gro...

Related Forum Threads
Charts not visible " No Quotes for any stock"
Custom Multi-Dimensional Fitness Formula (CMDFF) for Optimizer
use of screener for applied rules
Are there any plans to use FIX Protocol?
One result by the screener

Blog Posts
How to turn any ordinary trading strategy into a very profitable ...
How to get buy and sell orders for a portfolio based on a trading...
Create custom metrics for the statistical data analysis tool
Rules performance for different volatility regimes
Example of advanced rule









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