3 LEVEL ZZ SEMAFOR from codebase
3 Level ZZ Semafor
I noticed the inputs for level 3 are different!!
Main settings:
Period1=5; Periods are set. If you want to remove a semaphore, set 0.
Period2=13;
Period3=34;
Dev_Step_1="1,3"; Deviation and step of each period are set. Two figures comma separated. Deviation and step are like in a simple Zigzag.
Dev_Step_2="8,5";
Dev_Step_3="21,12";
Symbol_1_Kod=140; The semaphore symbol on a chart can be changed. The figure is the current symbol code.
Symbol_2_Kod=141;
Symbol_3_Kod=142;
This indicator was writt
REPAINT THIS!
Moderator: moderators
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
FRACTAL
What Is ZigZag?
I think, only few ones are surprised with the modern representation of the price chart as a bar. A time length is cut from the ticks history. The enter (Open) and exit (Close) prices, the maximal (High) and minimal (Low) values are fixed. But we can say nothing about the intrabar movement, about its direction at the exit... There is not enough information to make a trade decision. Additional tools are necessary for market analysis.
It is another pair of shoes, when the matter is the ZigZag polyline... We know the level and the approximate time of the last movement start, its direction. On the basis of statistical data processing (peaks and troughs), the possibility of forecasting the probable level and probable reverse time appears... There is enough information to make a "proper" trade decision.
It is important to understand that the current quotes are used for ZigZag drawing. It doesn't use any "quackery" and nor it adds anything to what already exists. The ZigZag is one of the methods of representing a price chart in a more compact form.
What quotes are usually used for ZigZag drawing? High and Low. That is the answer. But we can draw a polyline using only the open or only the close price of the bar (in my opinion, these are most preferable variants, because we know the event time for sure).
How Can We Identify Peaks and Troughs?
Let's remember the definition of a fractal, before we answer this question. Let me quote some phrases from New Trading Dimensions by Bill Williams:
"The fractal pattern is a simple one. The market makes a move in one direction or the other. After a period of time, all the willing buyer, have bought (on an up move) and the market falls back because of a lack of buyers. Then some new incoming information (Chaos) begins to affect the traders. There is an influx of new buying, and the market, finding that place of equal disagreement on value and agreement on price, moves up. If the momentum and the buyers' strength are strong enough to exceed the immediately preceding up fractal, we would place an order to buy one tick over the high of the fractal."
In practice, it is applicable to ZigZag. We search for the new models of Peaks and Troughs during its composing. How can we find them? And here comes a quote again:
?The technical definition of a fractal is: a series of a minimum of five consecutive bars where the highest high is preceded by two lower highs and is followed by two lower highs. (The opposite configuration would be applicable to a sell fractal.)?.
What Is ZigZag?
I think, only few ones are surprised with the modern representation of the price chart as a bar. A time length is cut from the ticks history. The enter (Open) and exit (Close) prices, the maximal (High) and minimal (Low) values are fixed. But we can say nothing about the intrabar movement, about its direction at the exit... There is not enough information to make a trade decision. Additional tools are necessary for market analysis.
It is another pair of shoes, when the matter is the ZigZag polyline... We know the level and the approximate time of the last movement start, its direction. On the basis of statistical data processing (peaks and troughs), the possibility of forecasting the probable level and probable reverse time appears... There is enough information to make a "proper" trade decision.
It is important to understand that the current quotes are used for ZigZag drawing. It doesn't use any "quackery" and nor it adds anything to what already exists. The ZigZag is one of the methods of representing a price chart in a more compact form.
What quotes are usually used for ZigZag drawing? High and Low. That is the answer. But we can draw a polyline using only the open or only the close price of the bar (in my opinion, these are most preferable variants, because we know the event time for sure).
How Can We Identify Peaks and Troughs?
Let's remember the definition of a fractal, before we answer this question. Let me quote some phrases from New Trading Dimensions by Bill Williams:
"The fractal pattern is a simple one. The market makes a move in one direction or the other. After a period of time, all the willing buyer, have bought (on an up move) and the market falls back because of a lack of buyers. Then some new incoming information (Chaos) begins to affect the traders. There is an influx of new buying, and the market, finding that place of equal disagreement on value and agreement on price, moves up. If the momentum and the buyers' strength are strong enough to exceed the immediately preceding up fractal, we would place an order to buy one tick over the high of the fractal."
In practice, it is applicable to ZigZag. We search for the new models of Peaks and Troughs during its composing. How can we find them? And here comes a quote again:
?The technical definition of a fractal is: a series of a minimum of five consecutive bars where the highest high is preceded by two lower highs and is followed by two lower highs. (The opposite configuration would be applicable to a sell fractal.)?.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
ZIGZAG INPUTS
Parameters.
Most of the external parameters are the string variables.
The parameters separated by commas are written in each string variable for each zigzag. The separator of the parameters is comma.
The first digit is for the first zigzag, the second one - for second and the third is for third. Separated by commas.
ExtDepth, ExtDeviation and ExtBackstep are the standard parameters for the zigzag.
If you set ExtDepth=0, then the corresponding zigzag will not be displayed.
ExtMaxBar - the number of the bars the zigzag will be calculated on.
Parameters.
Most of the external parameters are the string variables.
The parameters separated by commas are written in each string variable for each zigzag. The separator of the parameters is comma.
The first digit is for the first zigzag, the second one - for second and the third is for third. Separated by commas.
ExtDepth, ExtDeviation and ExtBackstep are the standard parameters for the zigzag.
If you set ExtDepth=0, then the corresponding zigzag will not be displayed.
ExtMaxBar - the number of the bars the zigzag will be calculated on.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
GETTING WARMER
I am looking for precise definitions of the input parameters:
ExtDepth
ExtDeviation
ExtBackstep
I am looking for precise definitions of the input parameters:
ExtDepth
ExtDeviation
ExtBackstep
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
Last edited by TheRumpledOne on Fri Mar 20, 2009 10:53 pm, edited 1 time in total.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
I set period1 to 34, making it the old 3.
Period2 is now 55 and period3 is now 89.
Now we have level 3, 4 and 5. This should give us even better real time information at the M1 level.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
I had fixed a version of the float indicator.
FLOAT INDICATOR
Perhaps we may have a use for it.
Template and indicators attached.
I think I figured out the new settings. Look in upper left hand corner of chart.
- Attachments
-
- TRO_Repaint_This.zip
- (70.13 KiB) Downloaded 769 times
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.