$TRILLION STRATEGY

trading strategies and money management discussion, code, results

Moderator: moderators

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Tue Feb 06, 2007 6:38 pm

BP wrote:
TheRumpledOne wrote:Posted - 01/10/2006 08:10:46


*** ATTENTION FELLOW TRADERS ***

THIS IS FOR DEMONSTRATION PURPOSES ONLY.


Code: Select all

{$TRILLION}
 
{Programmer:  Avery T. Horton, Jr.  aka TheRumpledOne

*** ATTENTION FELLOW TRADERS ***

THIS IS FOR DEMONSTRATION PURPOSES ONLY.
}
 
Inputs:   
 
iMaxDollarLoss(100),  // IN DOLLARS
iTarget(130),         // IN DOLLARS
iQuantity(1),         // IN LOTS / CONTRACTS / SHARES
 
iActionBar(0);        // BAR TO BASE ACTION ON, 0 = CURRENT BAR, 1 = 1 BAR AGO
 
Variables:
 
sLgEntryTrigger( false ),   // IF TRUE BUY (LONG)
sShEntryTrigger( false ),   // IF TRUE SELL (SHORT)
 
DayTop( 0 ),                // TOP OF PREVIOUS DAY'S CANDLE BODY
DayBottom( 0 ),             // BOTTOM OF PREVIOUS DAY'S CANDLE BODY
DayHigh( 0 ),               // TODAY'S HIGH
DayLow( 0 ) ;               // TODAY'S LOW
 
 
{*************************************************}
{ INITIALIZE                                      }   
{*************************************************}
 
DayHigh    = HighD(0) ;   
DayLow     = LowD(0) ;
 
DayBottom  = minlist(OpenD(1),CloseD(1));
DayTop     = maxlist(OpenD(1),CloseD(1));
 
 
 
{*************************************************}
{ ENTRIES                                         }   
{*************************************************}
 
 
sLgEntryTrigger = ( close crosses above DayTop ) ;    // TRUE IF TOP CROSSED 
 
sShEntryTrigger = ( close crosses below DayBottom) ;  // TRUE IF BOTTOM CROSSED
 
if MARKETPOSITION = 0 
and sLgEntryTrigger[iActionBar]
   then buy iQuantity shares this bar on close;
 
if MARKETPOSITION = 0 
and sShEntryTrigger[iActionBar]
    then sell short iQuantity shares this bar on close;
 
 
{*************************************************}
{ STOPS                                           }   
{*************************************************}
 
SetStopPosition ;
 
SetProfitTarget( iTarget ) ;
 
SetStopLoss( iMaxDollarLoss ) ;
 
SetExitOnClose;


TRO,

I am new on this forum. Is this an indicator that you have created? Can you create it for MT4? I use interbankfx. Also, I have not seen what you think of this strategy...but maybe I am just missing it.

Thanks,

BP


$Trillon is a "strategy" but I did code an indicator for it.

I do NOT program in MT4.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Tue Feb 06, 2007 6:43 pm

$TRILLION



IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Tue Feb 06, 2007 9:17 pm

Start of a new day...

IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Wed Feb 07, 2007 3:06 pm

Pips...




IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

Jeff
rank: <50 posts
rank: <50 posts
Posts: 2
Joined: Mon Feb 05, 2007 11:28 am
Reputation: 0
Gender: None specified

TheRumpledOne, thank you.

Postby Jeff » Thu Feb 08, 2007 11:57 am

We appreciate your co-operation regarding market hours!
Profitable trades!

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Thu Feb 08, 2007 2:45 pm

Just another $Trillion day :D




IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Re: TheRumpledOne, thank you.

Postby TheRumpledOne » Thu Feb 08, 2007 2:49 pm

Jeff wrote:We appreciate your co-operation regarding market hours!
Profitable trades!


Not exactly sure what you mean?!?!?

But here's how my SESSION HOURS ARE SET UP... REMEMBER I AM ON MST.

IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Thu Feb 08, 2007 10:25 pm

RESULTS FOR FEB 8, 2007 AND SETUP FOR FEB 9, 2007

IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Fri Feb 09, 2007 7:33 am

$TRILLION pays off long before SRDC I gets in the game...

IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Fri Feb 09, 2007 7:47 am

Which made more?

IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “strategy trading & money management”