Skip to main content

Elder Triple Screen Trading System for Amibroker (AFL)

the_smart_trader about 16 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 4)
  • Tags:
    trading system, amibroker, exploration, future

Formula Name : Elder Triple Screen Trading System
Author : Dennis Skoblar (email id : DennisAndLisa@sbcglobal.net)
The Credit goes to the Author : Dennis Skoblar, who created this formula/system.

The formula contains some instructions, do read it and then proceed!
For Charts : cut and paste the chart/indicator to it’s own window with it’s own file name and remove the Remark Slashes “//”, except for the first line, this line describes the chart function. Example…leave “//Weekly Bar Chart” from the following first line as as.

You cannot view the code for the following reasons:
  • You must be a member.

7 comments

about 16 years ago

Following error reported

)/LookBkPd ;

 OP = LastValue(OuterPct) ;

 X=X+sign( OP - ExternalBarPct )*deltaX ;

 deltaX = deltaX/2
-----------------^

Error 14.
Endless loop detected in DO-WHILE loop

Subrahmanyam

about 16 years ago

Yeah that happens on some stocks. I don’t have enough time to debug this and fix it so if someone knows how to fix it please say so.

3. rmike
about 16 years ago

Here’s the corrected snippet of code -

//////////////////////////////////////
do
 {
 Over = H > Middle + X ;
 Under = L < Middle - X ;
 OuterPct = 100*( Sum( Over, LookBkPd ) + Sum( Under, LookBkPd )
 )/LookBkPd ;
 OP = LastValue(OuterPct) ;
 Y= X + sign( OP - ExternalBarPct )*deltaX;
 
 }while ( sign( OP - ExternalBarPct ) > ConvergePct ) ;
 Plot( Middle, "MA", colorYellow, styleLine|styleNoTitle ) ;
 Plot( Middle+Y, "MA", colorSkyblue, styleDashed|styleNoTitle ) ;
 Plot( Middle-Y, "MA", colorSkyblue, styleDashed|styleNoTitle ) ;

////////////////////////////////////

The problem was occurring because of usage of ‘abs’ function in the ‘while’ loop which gave rise to the fact that the ‘abs’ value of algorithm for some stocks was always above the reference value.

However, be aware that this formula looks into the future!

Regards, rmike

over 14 years ago

hello any one tray to put email alert i have formula but work in this AlertIf( Buy, “Email”, "BUY triggered for " + Name() + " at price Rs."+WriteVal(C,5.2), 1,1+2 );
this formula work other indicator so tray to set in formula

7. ylerih
over 10 years ago

When i press compilator program find 132 errors, can somebody send working version of “triple screen” here or on my email – tranguk09@rambler.ru.
Thanks in advance

Leave Comment

Please login here to leave a comment.