Click here to Login





                                                   zigzag clarification

  0

0
srishail
2010-08-17 14:16:27


Guru in zigzag indicator i want to plot formula for zigzag 10. zigzag 20 ,like 44, 100 ,and 200 for all these periods .my quetion is i want to screen those scripts in which
all zigzag periods come in same line like what i showed in the earlier image



QuantShare
2010-08-18 10:16:00

  0

Best Answer
Here is the formula:
max(absolute(zigzag(close, 44) - zigzag(close, 10)), max(absolute(zigzag(close, 10) - zigzag(close, 20)), max(absolute(zigzag(close, 20) - zigzag(close, 100)), absolute(zigzag(close, 100) - zigzag(close, 200))))) < 0.3

Please note that the zigzag function uses future bars and it should not be used in backtesting.



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
Price Channel Position
Historical Stock Market News
Rosenberg Sentiment Index
Percentage of Stocks that are trading between their 50 and 200-da...
Low Risk Entry (BULLISH)

How-to Lessons
How to synchronize stock charts?
How to drag & drop a stock to a static watchlist
How to debug a trading system using the money management tool
How to display notes/commentaries on a chart
How to create trading rules based on Put and Call volume data

Related Forum Threads
how to plot a customized zigzag
zigzag
Help From anyone in India
Question on QS Language from pdf
How can I rename a downloader

Blog Posts
Create custom metrics for the statistical data analysis tool
How to Backtest a Strategy from a Chart
How to Pick the Best Trend Indicators
Forecast volatility using trading rules and neural networks
3 ways to rank stocks in a trading system - Simulator and Potfoli...









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.