|
|||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||
| Special offer: buy MetaStock (try for free) | Reuters QuoteCenter Real-Time Data (get a free month) | EOD Data |
|
DBS in TS code To: "metastock bulletin board" <metastock@xxxxxxxxxxxxx> Mark Etzkorn in Futures Magazine listed the following code for a "Dynamic Breakout System" in Futures Jan '98: Inputs: Ceil(60), Flr(20); Vars: X(0), Y(0), VarA(0), VarB(0), OldVarA(0); Y = X; If CurrentBar = 1 then VarA = 20 OldVarA = VarA; Buy tomorrow at Highest(High,VarA) stop; - 0 - The April issue of Tech Analysis of Stocks and Commodities (TASC) had a long article starting on page 22 that appears to use a Channel Breakout System. There are many charts indicating what the system looks like. Did Metastock publish anything in the "Traders Tips" section of TASC about how to program it? Here are two out of three indicators that Futures magazine published in the March 98 issue, page 46, that are used with the DBS system. The first one is just an extension of the code listed above. The second one uses the same code but is shortened. It is placed in an inner window and shows how many days are used in the daily calculation of the variable channel length so that the volitility is clearly visible. #1 Indicator Name: DBS-Break (or DBS-Breakout) charts the entry and exit trigger levels plus the price action. Inputs: Ceil(60), Flr(20); Vars: X(0), Y(0), ZDelta(0), VarA(0), VarB(0), OldVarA(0), EntryL(0), Y = X; If CurrentBar = 1 then VarA = 20; OldVarA = VarA; EntryL = Highest(High,VarA); Plot1(EntryL,"EntryL");
Inputs: Ceil(60), Flr(20); Vars: X(0), Y(0), ZDelta(0), VarA(0), VarB(0), OldVarA(0); Y = X; If CurrentBar = 1 then VarA = 20; OldVarA = VarA; Plot1(VarA,"LookBack") I believe the above is copied correctly from Futures magazine. - 0 - The following is Metastock's attempt to program the basic channel enter the following formula "BaseC" into the indicator builder. It needs to have the name of base for your system test to work. Code: Base Channel System Cross(H,Ref(HHV(H,20)+Fml("BaseC"),-1)) Cross(Ref(LLV(L,20)-Fml("BaseC"),-1),L) Base Channel {Formula2}
Code to difficult? Find somebody to help you with coding here.
all systems for MetaStock all systems
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. |
||
|
||
|