Click here to Login





                                                   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) 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...
The Best trading rules for the ADX technical indicator
Average Stock Performance for each U.S Exchange
Average Performance of a trading rule during that past N days

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"
one more parameter for "istrue"
Does Quantshare make any "assumptions" when backtesting tick data...
Auto support for any parameter!
How to Turn any ordinary trading strategy into a profitable one

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
How to make sure your Historical Price Data is Split Adjusted









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.