Tuesday, April 12, 2011

The conditions for the technical means

The conditions for the technical means

In the article Walter Downs "From the technical terms means," He brings a point of balance oscillator, two terms of color bars and two system tests. All these can easily be created in MetaStock 6,5. To create a point of balance oscillator, choose Indicator Builder from the menu Tools, click the New button and enter the following formula:
Point of Balance Oscillator
n: = Input ("periods", 1,100,12) / 2;
POBC1: = (HHV (close, n) + LLV (close, n)) / 2;
POBC2: = (HHV (POBC1, n) + LLV (POBC1, n)) / 2;
POBC3: = (HHV (POBC2, n) + LLV (POBC2, n)) / 2;
POBC4: = (HHV (POBC3, n) + LLV (POBC3, n)) / 2;
POBC5: = (HHV (POBC4, n) + LLV (POBC4, n)) / 2;
POBC6: = (HHV (POBC5, n) + LLV (POBC5, n)) / 2;
POBC7: = (HHV (POBC6, n) + LLV (POBC6, n)) / 2;
POBC8: = (HHV (POBC7, n) + LLV (POBC7, n)) / 2;
POBC9: = (HHV (POBC8, n) + LLV (POBC8, n)) / 2;
POBC10: = (HHV (POBC9, n) + LLV (POBC9, n)) / 2;
AV: = (POBC1 + POBC2 + + POBC3 POBC4 + + POBC5 POBC6 + + POBC7 POBC8 + + POBC9 POBC10) / 10;
POBCOsc: = 100 * ((close - ESA) / (HHV (close, 10)-LLV (close, 10)));
POBCOsc

To emphasize the bars based on fear Bull and Bear Fear conditions discussed in article, choose Expert Advisor from the menu Tools, click the New button and enter the following experts:
Bull Fear and Bear Fear Expert
Headlines
Name: Bull fear
Condition:
N: 12 = {} times;
BullFear: = (HHV (high n) - LLV (high n)) / 2 + LLV (high n);
CLOSE> BullFear
Color: Blue
Name: Bear Fear
Condition:
N: 12 = {} times;
BearFear: = (HHV (low, n) - LLV (Low, n)) / 2 + LLV (Low, L);
Close <BearFear
Color: Red

To test the two systems are discussed in the article, choose System Tester from the Tools menu and enter the following systems:
Bull and Bear Fear System Test
SIGNAL formulas
---------------
Enter Long:
N: 12 = {} times;
BullFear: = (HHV (high n) - LLV (high n)) / 2 + LLV (high n);
Cross (close, BullFear)
Enter Short:
N: 12 = {} times;
BearFear: = (HHV (low, n) - LLV (Low, n)) / 2 + LLV (Low, L);
Cross (BearFear, nearby)

Four-Bar Fear System Test
SIGNAL formulas
---------------
Enter Long:
N: 12 = {} times;
BullFear: = (HHV (high n) - LLV (high n)) / 2 + LLV (high n);
BearFear: = (HHV (low, n) - LLV (Low, n)) / 2 + LLV (Low, L);
Cross (close, BullFear) AND Ref (Sum (close <BullFear and bliski> BearFear, 4), -1) = 4
Close Long:
LOW <Ref (LLV (Low, 3), -1)
Enter Short:
N: 12 = {} times;
BullFear: = (HHV (high n) - LLV (high n)) / 2 + LLV (high n);
BearFear: = (HHV (low, n) - LLV (Low, n)) / 2 + LLV (Low, L);
Cross (BearFear, near) and Ref (Sum (close <BullFear and bliski> BearFear, 4), -1) = 4
Close Short:
HIGH> Ref (HHV (High, 3), -1)
After entering the system click the options button in the System Tester dialog, go to Testing tab and change the Trade Price to Open and set the delay to a trade.
This is the formula for moving averages discussed in the article, but not contained in the Traders Council published in TASC. Please note, this formula will plot all three moving averages, but will not plot in three different colors.
Dep: = Input ("periods", 1,100,12);
BLF: = ((HHV (H, TP) + LLV (H, TP)) / 2);
BRF: = ((HHV (L, TP) + LLV (L, TP)) / 2);
PO: = ((BLF-BRF) / 2) + BRF;
BLF;
BRF;
PO

No comments:

Post a Comment

Powered by Blogger.