Number One Trading System (Dual Thrust)

 

the trading system Dual Thrust is ranked as number one trading system since release date:

Top 10 Systems Since Their Release Date

Also for Forex is is the best one:

Dual Thrust Trading System

Can someone make an Expert Advisor for Metatrader out of this code?:

(tradestation ela attached):

tradestation code:

[LegacyColorValue = TRUE];

Inputs: K1(.5),K2(.5),Mday(1),Nday(1);

Vars: BuyRange(0), SellRange(0);

Vars: BuyTrig(0),SellTrig(0);

Vars: HH(0),LL(0),HC(0),LC(0);

If CurrentBar > 1 Then Begin

HH = Highest(High,Mday);

HC = Highest(Close,Mday);

LL = Lowest(Low,Mday);

LC = Lowest(Close,Mday);

If (HH - LC) >= (HC - LL) Then Begin

SellRange = HH - LC;

End Else Begin

SellRange = HC - LL;

End;

HH = Highest(High,Nday);

HC = Highest(Close,Nday);

LL = Lowest(Low,Nday);

LC = Lowest(Close,Nday);

If (HH - LC) >= (HC - LL) Then Begin

BuyRange = HH - LC;

End Else Begin

BuyRange = HC - LL;

End;

BuyTrig = K1*BuyRange;

SellTrig = K2*SellRange;

If MarketPosition = 0 Then Begin

Buy at Open of next bar + BuyTrig Stop;

Sell at Open of next bar - SellTrig Stop;

End;

If MarketPosition = -1 Then Begin

Buy at Open of next bar + Buytrig Stop;

End;

If MarketPosition = 1 Then Begin

Sell at Open of next bar - SellTrig Stop;

End;

End;

multicharts code:

[LegacyColorValue = TRUE];

Inputs: K1(.5),K2(.5),Mday(1),Nday(1);

Vars: BuyRange(0), SellRange(0);

Vars: BuyTrig(0),SellTrig(0);

Vars: HH(0),LL(0),HC(0),LC(0);

If CurrentBar > 1 Then Begin

HH = Highest(High,Mday);

HC = Highest(Close,Mday);

LL = Lowest(Low,Mday);

LC = Lowest(Close,Mday);

If (HH - LC) >= (HC - LL) Then Begin

SellRange = HH - LC;

End Else Begin

SellRange = HC - LL;

End;

HH = Highest(High,Nday);

HC = Highest(Close,Nday);

LL = Lowest(Low,Nday);

LC = Lowest(Close,Nday);

If (HH - LC) >= (HC - LL) Then Begin

BuyRange = HH - LC;

End Else Begin

BuyRange = HC - LL;

End;

BuyTrig = K1*BuyRange;

SellTrig = K2*SellRange;

If MarketPosition = 0 Then Begin

Buy at next bar Open of next bar + BuyTrig Stop;

Sell at next bar Open of next bar - SellTrig Stop;

End;

If MarketPosition = -1 Then Begin

Buy at next bar Open of next bar + Buytrig Stop;

End;

If MarketPosition = 1 Then Begin

Sell at next bar Open of next bar - SellTrig Stop;

End;

End;

Files:
dual.zip  2 kb
 
CurrentBar > 1

I think I can convert the rest, but confused as to what this means??

Dave

 

Hey! This is awesome I am subscribed!

ES

 

CurrentBar is an EL reserved word that allows you to determine the number of the bar that is currently being calculated

 

I go that from here

It's a .pdf file from the TradeStation web site called EL Essentials. Hope it helps.

 

so does this mean it is simply the "int start" function in mt4?

ES

 

Could be. This will take a while for me to code, and then we shall see what we shall see.

Dave

 

Once this code has been converted to MT4 (Thanks Dave137 ), are there other indicators we need? I'm not familiar with this system.

Thank you

 

HEY ANYTHING NAMED DUAL THRUST...IS JUST TOO SEXY...THIS MUST BE AN AWESOME SYSTEM...

es

 

Dave137,

Just checking in...how is this public domain project, Dual Thrust MT4 coming along?

ES

Dave137:
Could be. This will take a while for me to code, and then we shall see what we shall see. Dave
 

the system sounds very simple

first of all can someone confirm that the system has potential (i got it from someone without manual, so i am not sure if it is the original system...)

Dual Thrust - Past Daily Trade Reports

there are two versions of the system (the tradestation one and a DOS program that outputs daily trade signals in a form like this

(-18k on silver is bad, but if you hedge it with other instruments its fine):

TODAY'S TRADES ENTERED/EXITED ON 080829

NO TRADES EXECUTED TODAY

______________________________________________________________________

OPEN TRADES - AT CLOSE OF TRADING 080829

MARKET POSITION ENTRY/DATE PRICE CURRENT P/L

Oct Crude Oil Short 080828 117.17 115.46 $ 1709

Oct H Oil Short 080828 323.51 319.19 $ 1814

Oct Unleaded Gas Short 080828 293.85 285.42 $ 3540

Oct E_Natural Gas Short 080827 8.65 7.94 $ 1762

Sep Tbond Long 080807 115.32 118.12 $ 2687

Sep Euro Currency Short 080703 156.70 146.31 $ 12987

Sep Swiss Franc Short 080703 98.07 90.63 $ 9300

Sep E_Russell Long 080826 726.80 739.20 $ 1240

Sep E_MidCap Long 080827 809.90 815.50 $ 559

Dec Gold Short 080828 832.30 835.20 $-290

Sep Silver Long* 080626 1722.00 1360.70 $-18065

Sep Copper Long 080818 332.10 342.95 $ 2712

______________________________________________________________________

NEW TRADES GENERATED FOR TOMORROW

Oct Crude Oil Exit Short Position 0.82 Points Above Open Price

Oct H Oil Exit Short Position 1.60 Points Above Open Price

Oct Unleaded Gas Exit Short Position 1.50 Points Above Open Price

Oct ENatural Gas Exit Short Position 0.15 Points Above Open Price

Sep Tbond Exit Long Position 48/64 Below Open Price

Sep Euro Currency Exit Short Position 1.59 Points Above Open Price

Sep Swiss Franc Exit Short Position 0.85 Points Above Open Price

Sep ERussell Exit Long Position 20.50 Points Below Open Price

Sep EMidCap Exit Current Long Position at MAE Target 789.90

Sep EMidCap Enter Short Position 10.60 Points Below Open Price

Sep EMidCap Short MAE Target is 20.00 Points Above Sell Price

Dec Gold Exit Short Position 9.10 Points Above Open Price

Sep Silver Exit Long Position 53.20 Points Below Open Price

Sep Copper Exit Long Position 2.65 Points Below Open Price

Reason: