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
Historical Quotes for Delisted US Stocks
Ehler's Supersmooter Filter
Large Block Ratio Indicator
Random Walk Index
Insider Data History

How-to Lessons
How to create a correlation matrix of several securities
How to create a moving average of an indicator
How to use the Fibonacci retracement drawing tool
How to use a custom drawing tool
How to scale and move the chart Y-axis

Related Forum Threads
how to plot a customized zigzag
zigzag
Help From anyone in India
Question on QS Language from pdf
About Market Profile

Blog Posts
10 ways to download historical stock quotes data for free
Create Your Own Technical Stock Rating System
3 Market Indicators based on Fundamental Data
How to predict and trade the stock market using pivot points
How to get buy and sell orders for a portfolio based on a trading...









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 © 2025 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.