NexusFi: Find Your Edge

Home Menu


Double Top / Double Bottom indicator for Multicharts / Tradestation, one available?

Discussion in MultiCharts

      Top Posters
    1. looks_one PositiveDeviant with 6 posts (2 thanks)
    2. looks_two val2004 with 3 posts (0 thanks)
    3. looks_3 TheTrend with 2 posts (8 thanks)
    4. looks_4 maxk with 1 posts (0 thanks)
      Best Posters
    1. looks_one Robin Hood with 8 thanks per post
    2. looks_two TheTrend with 4 thanks per post
    3. looks_3 Nicolas11 with 1 thanks per post
    4. looks_4 PositiveDeviant with 0.3 thanks per post
    1. trending_up 16,306 views
    2. thumb_up 19 thanks given
    3. group 6 followers
    1. forum 13 posts
    2. attach_file 3 attachments

Search this Thread

Double Top / Double Bottom indicator for Multicharts / Tradestation, one available?

(login for full post details)
  #11 (permalink)
Posts: 5 since Jan 2011
Thanks Given: 2
Thanks Received: 1

additional question:did you try to code in ts or multicharts the priceswingaction ind prog setup for nt ?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Request for MACD with option to use different MAs for fa …
Searching for CurrentMonthOHL Indicator
NT7 Indicator Script Troubleshooting - Camarilla Pivots
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
37 thanks
Deaddogs Stock Trading
27 thanks
GFIs1 1 DAX trade per day journal
26 thanks
Supertradersams Thread Journal on NQ/MNQ
24 thanks
Leaving CFD trading and learning futures
11 thanks

(login for full post details)
  #12 (permalink)
Nicolas11's Avatar
near Paris, France
Experience: Beginner
Platform: -
Trading: -
Posts: 1,071 since Aug 2011
Thanks Given: 2,232
Thanks Received: 1,769


Nearly everything can be coded with MultiCharts. TheTrend already made a proposition.
First question is: what do you want precisely?
What is a double top? Should both tops be pivots? Compared to how many bars on the left? on the right? Should they be at the exact same price, or what is the tolerance? Etc.
If you define precisely what you need, I am sure that somebody here will be pleased to code it for you, or at least support you.


Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to Nicolas11 for this post:
(login for full post details)
  #13 (permalink)
PositiveDeviant's Avatar
United Kingdom
Experience: Intermediate
Platform: Multicharts
Trading: Dow
Posts: 587 since Nov 2010
Thanks Given: 257
Thanks Received: 256

Thanks but I don't need it anymore, I just use my indicator visually, I don't need a coded alert.

"The primary thing required to obtain what you want from life, is simply the will to pursue it, and the faith to believe it is possible." - Author Unknown

"The ability to maintain discipline and stick to the rules is the hallmark of the experienced successful trader" - Curtis Faith
Visit my NexusFi Trade Journal Started this thread Reply With Quote
(login for full post details)
  #14 (permalink)
Taipei, Taiwan
Posts: 9 since Jun 2023
Thanks Given: 2
Thanks Received: 1

Hi, just read this article~

following the code I can read DB on the chart but no DT, can anyone help to find the problem?


TheTrend View Post
Here is a quick code that might help you to play around.

Take care to the strength parameter which is quite sensitive in the pattern determination.

I remmember from Suri Dudella's webinar that he optimises his swing points to find ABCs... it might be an idea to find the best value.

I'll send you my bank account number for the payment

Hope that helps.

Input: Lookback(50),Strength(5);
Var: LastHighPivotbar (0),LastLowPivotbar (0),PreviousHighPivotbar (0),PreviousLowPivotbar(0),
LastHighPivot (0),LastLowPivot (0),PreviousHighPivot (0),PreviousLowPivot(0),DT (False),DB (False);

LastHighPivotBar = PivotHighVSBar(1,H,Strength,Strength,Lookback);
LastLowPivotBar = PivotLowVSbar(1,L,Strength,Strength,Lookback);
PreviousHighPivotBar = PivotHighVSBar(2,H,Strength,Strength,Lookback);
PreviousLowPivotBar = PivotLowVSbar(2,L,Strength,Strength,Lookback);
LastHighPivot = PivotHighVS(1,H,Strength,Strength,Lookback);
LastLowPivot = PivotLowVS(1,L,Strength,Strength,Lookback);
PreviousHighPivot = PivotHighVS(2,H,Strength,Strength,Lookback);
PreviousLowPivot = PivotLowVS(2,L,Strength,Strength,Lookback);


If LastHighPivot <> - 1 and LastLowPivot <> -1 and PreviousHighPivot <>-1 and PreviousLowPivot <> -1

	and PreviousHighPivot < PreviousLowPivotBar + averagetruerange(10)
	and PreviousHighPivot  > LastHighPivot  - averagetruerange(10)
	and LastHighPivot > LastLowPivot + 3* averagetruerange(10)
	and LastLowPivotbar > LastHighPivotbar 

then begin

	else begin
	DT = False;

If DT = True then begin

	Plot1 [PreviousHighPivotBar ](PreviousHighPivot ,"DT1",Blue);
	Plot2 [LastHighPivotBar ](LastHighPivot  ,"DT2",Blue);


If LastHighPivot <> - 1 and LastLowPivot <> -1 and PreviousHighPivot <>-1 and PreviousLowPivot <> -1

	and LastLowPivot < PreviousLowPivot + averagetruerange(10)
	and LastLowPivot > PreviousLowPivot - averagetruerange(10)
	and LastHighPivot > LastLowPivot + 3* averagetruerange(10)
	and LastHighPivotbar > LastLowPivotBar 

then begin

	DB  = TRUE;
	else begin
	DB  = False;

If DB = True then begin

	Plot3 [PreviousLowPivotBar ](PreviousLowPivot ,"DB1",Yellow);
	Plot4 [LastLowPivotBar ](LastLowPivot,"DB2",Yellow);

Reply With Quote

Last Updated on September 5, 2023

© 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