Click here to Login





                                                   Regarding Ploting Buy Sell Signals

  0

0
Vivek A. Shah
2012-06-28 16:44:11


Hello Sir,

I want to plot buy & sell signal on the chart. Plot a buy when the price has closed above 50 day moving average & plot a Sell signal when the price closes below 50 day moving average. Also I want to know that if I apply same setting provided by you on 1 hour, 30 minute chart than also will I get the correct signal ot not? If not than kindly help me on that.
Thank you.



QuantShare
2012-06-29 11:29:27

  0

Best Answer
Here is how:
http://www.quantshare.com/how-391-how-to-plot-arrows-below-above-candlesticks-on-a-chart

For intraday data, it is the same if you are using 50 bar moving average (not day).



Vivek A. Shah
2012-06-29 20:33:50

  0

But sir, I want to to plot signal on the candel next to the candle that closes above 50 day MA or closes below 50 day MA with one condition that if that candle crosses the high of the candle which closes above 50 day MA or crosees the low of the candle which closes below 50 day MA.


QuantShare
2012-06-30 13:18:06

  0

Formula:

buy1 = cross(ref(close, 1), sma(50)) and close > ref(high, 1);
PlotArrow(buy1, "", AboveHigh, colorGreen);

sell1 = cross(sma(50), ref(close, 1)) and close < ref(low, 1);
PlotArrow(sell1, "", AboveHigh, colorRed);



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
LSS Pivotal Buy and Sell Numbers - Trend Reaction
Trading Strategy based on the Number of Buy Signals
Number of Buy Signals Over Time in a Simulation
Buy Sell Simulation Indicator
buy sell

How-to Lessons
How to generate buy/sell signals from a trading system
How to perform a basic quantitative analysis using the S&P 500
How to create a strategy-based portfolio
How to debug a trading system using the money management tool
How to download and use U.S. stocks earnings data

Related Forum Threads
Plot Up/Down Arrows corresponding to buy and sell signals
Buy Sell Signals Chart Layout
Buy and Sell rules combination in Optimizer.
Continues Buy / Sell
Setsimtiming -- Buy signal day open and sell signal day close

Blog Posts
How to get buy and sell orders for a portfolio based on a trading...
Trading System: Moving average crossover and few others buy and s...
How to create buy and sell trading rules based on News Data
Buy the best/top rated stocks or how to create powerful rank base...
Trading System: Buy stocks with the highest Sharpe ratio









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.