NexusFi: Find Your Edge


Home Menu

 





Harmonic Trading


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one George with 3 posts (2 thanks)
    2. looks_two websouth with 1 posts (0 thanks)
    3. looks_3 Blash with 1 posts (0 thanks)
    4. looks_4 bomberone1 with 1 posts (0 thanks)
    1. trending_up 8,466 views
    2. thumb_up 2 thanks given
    3. group 7 followers
    1. forum 5 posts
    2. attach_file 7 attachments




 
 

Harmonic Trading

 
 
George's Avatar
 George 
Sweden
 
Experience: Master
Platform: TT, NT, MetaTrader
Broker: Velocity Futures, MB Trading
Trading: EUR/USD
Posts: 401 since Jun 2009
Thanks Given: 1,005
Thanks Received: 1,326

Hey Guys!

I have posted two threads on the Harmonic Trading topic:

1.
2.

If you find the reading and it's context useful (which I truly hope you do, because it's one the best that's out there), then you might find this challenging or maybe you want to contribute to the whole concept of this community by helping out in creating these indicators. Here the stuff I've found on this subject.

So if yo guys want to give this a try. I'll be posting below some stuff I found that's made for meta trader ( I believe it's that one, sorry guys my knowledge's in that area are zero, but I understand that it's possible to translate them into Ninja.

I'll attach them and post some pictures too.

AB=CD pattern


BPS 1-2-3 Pattern.zip

Gartley 222


and the file (I renamed it to .doc in order to be able to post it, it should be .ex4) :
BPS-Harmonic-Patterns.doc

And here's something called ZUP (a zigzag universal with patterns Pesavento) :
I believe this one is the most complete, including all the patterns.
the file:

ZUP_v67.rar

and the document describing this guy's work.
part 1
Harmonic Trading-zup.pdf

and part 2
Harmonic Trading-zup2.pdf



And in case that should not be enough, I found a site with the code for Gartley 222, dono if it's good, but here it is:

 
Code
                            
 
{Gartley 222 
 
Original Code written by Mark Conway 
 
================= 
Modified  
by 
deMicron 
Oct
092004  
  
1. Option to Delete Multiple Re
-Draw Lines 
2. Added 2
-more Lines to complete the pattern 
================ 
 
 

 
Inputs
   
Length(100), 
   
Strength(8), 
   
Tolerance(0.10), 
   
BullColor(Blue), 
   
BearColor(Red), 
   
thickness(2), 
   
DelMulti(TRUE); { Deletes Multiple Re-Draw Lines
 
Variables
   
F1(0.618), 
   
F2(0.786), 
   
F3(1.27), 
   
F4(1.618), 
   
P1Bar(-1), 
   
P2Bar(-1), 
   
T1Bar(-1), 
   
T2Bar(-1), 
   
P1(0.0), 
   
P2(0.0), 
   
T1(0.0), 
   
T2(0.0), 
   
PTValid(False), 
   
HLValid(False), 
   
InZone(False), 
   
GD(0.0), 
   
XA(0.0), 
   
AB(0.0), 
   
BC(0.0), 
   
CD(0.0), 
   
AD(0.0), 
   
C1(False), 
   
C2(False), 
   
C3(False), 
   
C4(False), 
   
ABdXA(0.0), 
   
BCdAB(0.0), 
   
CDdBC(0.0), 
   
ADdXA(0.0), 
   
TL1(-1), 
   
TL2(-1), 
   
TL3(-1), 
   
TL4(-1), 
   
TL5(-1), 
   
TL6(-1),  
   
TL7(-1), 
   
TL8(-1); 
 
 
 
P1Bar SwingHighBar(1HighStrengthLength); 
P2Bar SwingHighBar(2HighStrengthLength); 
T1Bar SwingLowBar(1LowStrengthLength); 
T2Bar SwingLowBar(2LowStrengthLength); 
If 
P1Bar <> -and 
P2Bar <> -and 
T1Bar <> -and 
T2Bar <> -1 Then Begin 
   
{Test for a bullish 222
   {
Trough X is T2
   
T2 Low[T2Bar]; 
   {
Peak A is P2
   
P2 High[P2Bar]; 
   {
Trough B is T1
   
T1 Low[T1Bar]; 
   {
Peak C is P1
   
P1 High[P1Bar]; 
   {
D is the buy point
   
GD Low
   
PTValid P1Bar T1Bar and T1Bar P2Bar and P2Bar T2Bar
   
HLValid P1 P2 and T1 T2 and P1 T1
   
InZone GD T1 and GD T2 and P2 >= Highest(HighT2Bar); 
   If 
PTValid and HLValid and InZone Then Begin 
      XA 
P2 T2
      
AB P2 T1
      
BC P1 T1
      
CD P1 GD
      
AD P2 GD
      
ABdXA AB XA;     {AB should be 61.8of XA
      
C1 ABdXA F1 Tolerance and ABdXA F1 Tolerance
      
BCdAB BC AB;     {BC should be 61.8-78.6of AB
      
C2 BCdAB F1 Tolerance and BCdAB F2 Tolerance
      
CDdBC CD BC;     {CD should be 127-161.8of BC
      
C3 CDdBC F3 Tolerance and CDdBC F4 Tolerance
      
ADdXA AD XA;     {AD should be 78.6of XA
      
C4 ADdXA F2 Tolerance and ADdXA F2 Tolerance
      If 
C1 and C2 and C3 and C4 Then Begin 
         TL1 
TL_New(Date[T2Bar], Time[T2Bar], T2Date[P2Bar], Time[P2Bar], P2); 
         If 
TL1 >= 0 Then Begin 
            TL_SetColor
(TL1BullColor); 
            
TL_SetStyle(TL1Tool_Solid); 
            
TL_SetSize(TL12); 
         
End
         
TL2 TL_New(Date[P2Bar], Time[P2Bar], P2Date[T1Bar], Time[T1Bar], T1); 
     If 
TL2 >= 0 Then Begin 
        TL_SetColor
(TL2BullColor); 
        
TL_SetStyle(TL2Tool_Solid); 
        
TL_SetSize(TL22); 
         
End
         
TL3 TL_New(Date[T1Bar], Time[T1Bar], T1Date[P1Bar], Time[P1Bar], P1); 
     If 
TL3 >= 0 Then Begin 
        TL_SetColor
(TL3BullColor); 
        
TL_SetStyle(TL3Tool_Solid); 
        
TL_SetSize(TL32); 
     
End
 
    if (
DelMULTIthen 
    begin 
        
if (TL4>0then TL_Delete(TL4); 
        if (
TL5>0then TL_Delete(TL5); 
        if (
TL5>0then TL_Delete(TL6); 
    
end
 
 
     
TL4 TL_New(Date[P1Bar], Time[P1Bar], P1DateTimeGD); 
     If 
TL4 >= 0 Then Begin 
        TL_SetColor
(TL4BullColor); 
        
TL_SetStyle(TL4Tool_Solid); 
        
TL_SetSize(TL4thickness); 
     
End
 
     
TL5 TL_New(Date[T1Bar], Time[T1Bar], T1DateTimeGD); 
     If 
TL5 >= 0 Then Begin 
        TL_SetColor
(TL5BullColor); 
        
TL_SetStyle(TL5Tool_Dotted); 
        
TL_SetSize(TL5thickness); 
     
End
     
TL6 TL_New(Date[T2Bar], Time[T2Bar], T2DateTimeGD); 
     If 
TL6 >= 0 Then Begin 
        TL_SetColor
(TL6BullColor); 
        
TL_SetStyle(TL6Tool_Dotted); 
        
TL_SetSize(TL6thickness); 
     
End
 
        
TL7 TL_New(Date[P2Bar], Time[P2Bar], P2Date[P1Bar], Time[P1Bar], P1); 
         If 
TL7 >= 0 Then Begin 
            TL_SetColor
(TL7BullColor); 
            
TL_SetStyle(TL7Tool_Dotted); 
            
TL_SetSize(TL7thickness); 
         
End
 
        
TL8 TL_New(Date[T2Bar], Time[T2Bar], T2Date[T1Bar], Time[T1Bar], T1); 
         If 
TL8 >= 0 Then Begin 
            TL_SetColor
(TL8BullColor); 
            
TL_SetStyle(TL8Tool_Dotted); 
            
TL_SetSize(TL8,thickness); 
         
End
 
 
      
End
   
End
   {
Test for a bearish 222
   {
Peak X is P2
   {
Trough A is T2
   {
Peak B is P1
   {
Trough C is T1
   {
GD is the short point
   
GD High
   
PTValid T1Bar P1Bar and P1Bar T2Bar and T2Bar P2Bar
   
HLValid T1 T2 and P1 P2 and T1 P1
   
InZone GD P1 and GD P2 and T2 <= Lowest(LowP2Bar); 
   If 
PTValid and HLValid and InZone Then Begin 
      XA 
P2 T2
      
AB P1 T2
      
BC P1 T1
      
CD GD T1
      
AD GD T2
      
ABdXA AB XA;     {AB should be 61.8of XA
      
C1 ABdXA F1 Tolerance and ABdXA F1 Tolerance
      
BCdAB BC AB;     {BC should be 61.8-78.6of AB
      
C2 BCdAB F1 Tolerance and BCdAB F2 Tolerance
      
CDdBC CD BC;     {CD should be 127-161.8of BC
      
C3 CDdBC F3 Tolerance and CDdBC F4 Tolerance
      
ADdXA AD XA;     {AD should be 78.6of XA
      
C4 ADdXA F2 Tolerance and ADdXA F2 Tolerance
      If 
C1 and C2 and C3 and C4 Then Begin 
           
         TL1 
TL_New(Date[P2Bar], Time[P2Bar], P2Date[T2Bar], Time[T2Bar], T2); 
         If 
TL1 >= 0 Then Begin 
            TL_SetColor
(TL1BearColor); 
            
TL_SetStyle(TL1Tool_Solid); 
            
TL_SetSize(TL1thickness); 
         
End
 
         
TL2 TL_New(Date[T2Bar], Time[T2Bar], T2Date[P1Bar], Time[P1Bar], P1); 
         If 
TL2 >= 0 Then Begin 
            TL_SetColor
(TL2BearColor); 
            
TL_SetStyle(TL2Tool_Solid); 
            
TL_SetSize(TL1thickness); 
         
End
         
TL3 TL_New(Date[P1Bar], Time[P1Bar], P1Date[T1Bar], Time[T1Bar], T1); 
         If 
TL3 >= 0 Then Begin 
            TL_SetColor
(TL3BearColor); 
            
TL_SetStyle(TL3Tool_Solid); 
            
TL_SetSize(TL3thickness); 
         
End
 
 
            if (
DelMULTIthen 
            begin 
                
if (TL4>0then TL_Delete(TL4); 
                if (
TL5>0then TL_Delete(TL5); 
                if (
TL5>0then TL_Delete(TL6); 
            
end
 
         
TL4 TL_New(Date[T1Bar], Time[T1Bar], T1DateTimeGD); 
         If 
TL4 >= 0 Then Begin 
            TL_SetColor
(TL4BearColor); 
            
TL_SetStyle(TL4Tool_Solid); 
            
TL_SetSize(TL4thickness); 
         
End
 
 
         
TL5 TL_New(Date[P1Bar], Time[P1Bar], P1DateTimeGD); 
         If 
TL5 >= 0 Then Begin 
            TL_SetColor
(TL5BearColor); 
            
TL_SetStyle(TL5Tool_Dotted); 
            
TL_SetSize(TL5thickness); 
         
End
 
         
TL6 TL_New(Date[P2Bar], Time[P2Bar], P2DateTimeGD); 
         If 
TL6 >= 0 Then Begin 
            TL_SetColor
(TL6BearColor); 
            
TL_SetStyle(TL6Tool_Dotted); 
            
TL_SetSize(TL6thickness); 
         
End
 
         
TL7 TL_New(Date[P2Bar], Time[P2Bar], P2Date[P1Bar], Time[P1Bar], P1); 
         If 
TL7 >= 0 Then Begin 
            TL_SetColor
(TL7BearColor); 
            
TL_SetStyle(TL7Tool_Dotted); 
            
TL_SetSize(TL7thickness); 
         
End
 
        
TL8 TL_New(Date[T2Bar], Time[T2Bar], T2Date[T1Bar], Time[T1Bar], T1); 
         If 
TL8 >= 0 Then Begin 
            TL_SetColor
(TL8BearColor); 
            
TL_SetStyle(TL8Tool_Dotted); 
            
TL_SetSize(TL8,thickness); 
         
End
 
 
 
      
End
   
End
End
TS SUPPORT :: View topic - Pesavento Patterns Indicator for MultiCharts



Thanks in advance!


/George

Started this thread
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
 
 
George's Avatar
 George 
Sweden
 
Experience: Master
Platform: TT, NT, MetaTrader
Broker: Velocity Futures, MB Trading
Trading: EUR/USD
Posts: 401 since Jun 2009
Thanks Given: 1,005
Thanks Received: 1,326

Nobody!!!???

Can anyone please provide further information on how to convert scripts to Ninja!

Thank you!

/George

Started this thread
 
 
websouth's Avatar
 websouth 
Perdido Beach, AL
Market Wizard
 
Experience: Intermediate
Platform: graph paper
Trading: The shiny stuff
Posts: 1,209 since Jul 2009
Thanks Given: 1,116
Thanks Received: 1,335


George I don't know how to do the conversion stuff...
I am currently looking at and playing with this....

https://www.wave59.com/tppatterns.asp

Visit my NexusFi Trade Journal
 
 
George's Avatar
 George 
Sweden
 
Experience: Master
Platform: TT, NT, MetaTrader
Broker: Velocity Futures, MB Trading
Trading: EUR/USD
Posts: 401 since Jun 2009
Thanks Given: 1,005
Thanks Received: 1,326


websouth View Post
George I don't know how to do the conversion stuff...
I am currently looking at and playing with this....

https://www.wave59.com/tppatterns.asp


Thanks. It looks interesting. I'll have a look. By the way if you're into Harmonic Trading and want another software, there's the Ensign that has all the Pesavento patterns.

Ensign Software - Studies: Pesavento Patterns

/George

Started this thread
 
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 29

Hi,
do you have added pther pattern into Harmonic Trading?
I'd like add, if is it possible, sound and visual alert.
WHere could i find gor ninja the best harmonic indicator and system?
Thanks

 
 
Blash's Avatar
 Blash 
Chicago, IL
Legendary Market Chamois
 
Experience: None
Platform: NT8,NT7,TWS
Broker: InteractiveBrokers, S5T, IQFeed
Trading: The one I'm creating in the present....Index Futures mini/micro, ZF
Posts: 2,311 since Nov 2011
Thanks Given: 7,341
Thanks Received: 4,518


bomberone1 View Post
Hi,
do you have added pther pattern into Harmonic Trading?
I'd like add, if is it possible, sound and visual alert.
WHere could i find gor ninja the best harmonic indicator and system?
Thanks

I have these tools..... Home « neoHarmonics.com

Ron

...My calamity is My providence, outwardly it is fire and vengeance, but inwardly it is light and mercy...
The steed of this Valley is pain; and if there be no pain this journey will never end.
Buy Low And Sell High (read left to right or right to left....lol)
Follow me on Twitter Visit my NexusFi Trade Journal

 



Last Updated on January 23, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts