Hi,
Can someone help with the following efs function:
Assuming a way to identify the small peaks and bottoms of an uptrend zig-zag (I call them Minor Pivots), I would like to write an efs function that will record them (Value and its Bar Index) such that I can refer to them, compare them with new Minor Pivots and decide which ones I want to keep.
Additional information:
a/ I would like to keep min two and no more than 3-4 "Minor Pivots" and
b/ I would like to be able to apply the function to prices as well as other idicators, like MAs. Oscilators, etc.
c/ The function can be embbedded in the one complex indicator (using global variables) or can be external, to which we pass the previously recorded values as parameters.
Minor Pivots Definition: Currently, I am using the TradeStation (simple) method of "higher then left leg, lower than right leg) with left and right leg being optional, but I am open to any other "traditional" or commonly used method.
Thanks a lot and I hope I am not asking for too much.
Note: If someone has something similar and wants to share, or if someone who knows efs finds it useful as idea and wants to write and share, I would be greatfull.
Mihai
Can someone help with the following efs function:
Assuming a way to identify the small peaks and bottoms of an uptrend zig-zag (I call them Minor Pivots), I would like to write an efs function that will record them (Value and its Bar Index) such that I can refer to them, compare them with new Minor Pivots and decide which ones I want to keep.
Additional information:
a/ I would like to keep min two and no more than 3-4 "Minor Pivots" and
b/ I would like to be able to apply the function to prices as well as other idicators, like MAs. Oscilators, etc.
c/ The function can be embbedded in the one complex indicator (using global variables) or can be external, to which we pass the previously recorded values as parameters.
Minor Pivots Definition: Currently, I am using the TradeStation (simple) method of "higher then left leg, lower than right leg) with left and right leg being optional, but I am open to any other "traditional" or commonly used method.
Thanks a lot and I hope I am not asking for too much.
Note: If someone has something similar and wants to share, or if someone who knows efs finds it useful as idea and wants to write and share, I would be greatfull.
Mihai