|
|||||||||||||||||||
|
|||||||||||||||||||
| Special offer: buy AmiBroker and EOD+Real-Time Data |
|
Function Name: NewMarketParadigm, Output: Numeric Input: Price(NumericSeries),Length(NumericSimple),StdDevUp (NumericSimple),StdDevDn(NumericSimple); value1 = BollingerBand(Price,Length,StdDevUp); value2 = BollingerBand(Price,Length,StdDevDn); Condition1 = value1 < value1[1] and value2 > value2[1]; {Contraction}{Built as conditions for later revision --WD} Condition2 = value1 > value1[1] and value2 < value2[1]; {Expansion} Condition3 = Condition1 = False and Condition2 = False; {Transition} IF Condition1 then NewMarketParadigm = 1; {Contraction} IF Condition2 then NewMarketParadigm = 2; {Expansion} IF Condition3 then NewMarketParadigm = 3; {Transition} New market paradigm indicators These two indicators can be used to create the distinctive bow-tie formations shown on the charts in the article. They can be applied by inserting them into the same subgraph on any chart. They can also be directly overlaid over the price action, if desired. Type: Indicator, Name: NewMarketParadigm C, Style: BLUE Input: Price(close),Length(28),StdDevUp(2),StdDevDn(-2); value1 = BollingerBand(Price,Length,StdDevUp); value2 = BollingerBand(Price,Length,StdDevDn); IF NewMarketParadigm(Price,Length,StdDevUp,StdDevDn) = 1 then begin Plot1(value1,""); Plot2(value2,""); End; Type: Expansion Indicator, Name: NewMarketParadigm E, Style: RED Input: Price(close),Length(28),StdDevUp(2),StdDevDn(-2); value1 = BollingerBand(Price,Length,StdDevUp); value2 = BollingerBand(Price,Length,StdDevDn); IF NewMarketParadigm(Price,Length,StdDevUp,StdDevDn) = 2 then begin Plot1(value1,""); Plot2(value2,""); End; Code:
all formulas for TradeStation all formulas
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators and systems are submitted by anonymous users. Therefore S4T™ does not take any responsibility for it's quality. If you use any of this information, use it at your own risk. You are responsible for your own trading decisions. Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade. In no case will S4T™ be responsible for your trading gains or losses. |
|
|