![]() Then, when a new bottom zig zag pivot is confirmed this average is added to the bar number of the bottom zig zag pivot and the result stored in an array of potential bars where potential zig zag bottom pivots may occur. ![]() If it were set to 2 the last two up moves would be averaged. In the case of up moves, it then averages the last up moves in terms of the number of bars over which they took place (the number depends on the user input: NumZigZagsInArray, so, for example, if NumZigZagsInArray were set to 1, only the last up move would be used. The program works by calculating and storing the length of each horizontal zig zag move, either up or down. ![]() The program may be useful for you if you are interested in working with zig-zag patterns or learning more about EasyLanguage/PowerLanguage arrays. It uses historic horizontal zig zag moves (measured in numbers of bars) to attempt to estimate future zig zag turning points. This program replaces the vectors with arrays. The original program used TradeStation EasyLanguage vectors and so did not work with MultiCharts. Program 29 (array version) is a TradeStation and MultiCharts compatible ShowMe study based on Program 29.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |