NexusFi: Find Your Edge


Home Menu

 





Twiggs Money Flow


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one britkid99 with 4 posts (0 thanks)
    2. looks_two crazybears with 2 posts (3 thanks)
    3. looks_3 rainer01 with 2 posts (0 thanks)
    4. looks_4 mkata with 1 posts (0 thanks)
    1. trending_up 4,983 views
    2. thumb_up 4 thanks given
    3. group 6 followers
    1. forum 10 posts
    2. attach_file 3 attachments




 
Search this Thread

Twiggs Money Flow

  #1 (permalink)
 britkid99 
Derby UK
 
Experience: Intermediate
Platform: Sierra Chart
Trading: Futures Options, CL
Posts: 175 since Jun 2009
Thanks Given: 105
Thanks Received: 134

Does anyone have a Sierra Chart version of Twiggs Money Flow?
I have searched on futures.io (formerly BMT) and Sierra support boards with no luck.

If not is anyone up for converting the ninjatrader version as I am not a programmer.

Attached Files
Elite Membership required to download: TwiggsMoneyFlow.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 crazybears 
Alesia E.U.
 
Experience: Intermediate
Platform: Sierra chart
Trading: Futures
Posts: 168 since Feb 2011
Thanks Given: 146
Thanks Received: 115

Hi Britkid99

check if it's ok

Attached Files
Elite Membership required to download: TwiggsMoneyFlow.zip
Reply With Quote
Thanked by:
  #3 (permalink)
 britkid99 
Derby UK
 
Experience: Intermediate
Platform: Sierra Chart
Trading: Futures Options, CL
Posts: 175 since Jun 2009
Thanks Given: 105
Thanks Received: 134


Thanks for the response crazybears, but I can't get it to load.
The zip file only contains the .cpp file, is that correct. Anyone else got this to load ok?

Started this thread Reply With Quote
  #4 (permalink)
 crazybears 
Alesia E.U.
 
Experience: Intermediate
Platform: Sierra chart
Trading: Futures
Posts: 168 since Feb 2011
Thanks Given: 146
Thanks Received: 115

.cpp file is source code , you have to copy it into

C:\SierraChart\ACS_Source

after under Analysis select Build custom studies DLL , select it -> press build custom studies dll

when appears end , (means no error )

you find it under custom studies

Reply With Quote
  #5 (permalink)
 britkid99 
Derby UK
 
Experience: Intermediate
Platform: Sierra Chart
Trading: Futures Options, CL
Posts: 175 since Jun 2009
Thanks Given: 105
Thanks Received: 134

crazybears,

Ahh I thought it might be something like that. Never compiled before but it has worked and loaded ok.
Thanks again for your help.

Started this thread Reply With Quote
  #6 (permalink)
 Rockford 
West Branch, Mi, USA
 
Experience: Intermediate
Platform: Sierra Chart
Broker: TradePro/TransAct
Trading: NQ, CL
Posts: 59 since Nov 2012
Thanks Given: 10
Thanks Received: 11


crazybears View Post
.cpp file is source code , you have to copy it into

C:\SierraChart\ACS_Source

after under Analysis select Build custom studies DLL , select it -> press build custom studies dll

when appears end , (means no error )

you find it under custom studies

Hi @crazybears , I was wondering if you could help me out. I tried to compile your Twiggs Money Flow and I'm getting the following errors, and it's not showing up under custom studies? Thanks Rockford.

-- Starting build of Custom Studies Source files: TwiggsMoneyFlow.cpp. -- 16:36:01

The Visual C++ compiler is not installed. Press the 'Install Compiler' button to download and install the compiler.
C:\Windows\system32\cmd.exe /C "C:\SierraChart\ACS_Source\VisualCCompile.Bat"


C:\SierraChart\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
The system cannot find the path specified.

C:\SierraChart\ACS_Source>cl /GL /W3 /Gm- /O2 /Zc:inline /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Oy- /Oi /LD /EHsc /nologo "C:\SierraChart\ACS_Source\TwiggsMoneyFlow.cpp" /link /INCREMENTAL:NO /OPT:REF /OPT:ICF /OUT:"C:\SierraChart\Data\TwiggsMoneyFlow.dll"
'cl' is not recognized as an internal or external command,
operable program or batch file.
-- End of Build -- 16:36:02

Reply With Quote
  #7 (permalink)
 britkid99 
Derby UK
 
Experience: Intermediate
Platform: Sierra Chart
Trading: Futures Options, CL
Posts: 175 since Jun 2009
Thanks Given: 105
Thanks Received: 134

Rockford,

I know it was over a year ago but you need to download the Compiler first. Then run it again

Brit

Started this thread Reply With Quote
  #8 (permalink)
rainer01
Germany
 
Posts: 2 since Nov 2019
Thanks Given: 0
Thanks Received: 0

tried to compile with actual SC v2348, but

The remote build did not succeed. Result:

TwiggsMoneyFlow.cpp: In function 'void scsf_TwiggsMoneyFlow(SCStudyInterfaceRef)':
TwiggsMoneyFlow.cpp:73:18: error: 'max' was not declared in this scope; did you mean 'std::max'?
73 | TRH[sc.Index] = max(sc.High[sc.Index], sc.Close[sc.Index-1]);
| ^~~
| std::max
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/include/c++/algorithm:62,
from scstructures.h:26,
from sierrachart.h:22,
from TwiggsMoneyFlow.cpp:4:
/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/include/c++/bits/stl_algo.h:3462:5: note: 'std::max' declared here
3462 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
TwiggsMoneyFlow.cpp:74:18: error: 'min' was not declared in this scope; did you mean 'std::min'?
74 | TRL[sc.Index] = min(sc.Low[sc.Index], sc.Close[sc.Index-1]);
| ^~~
| std::min
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/include/c++/algorithm:62,
from scstructures.h:26,
from sierrachart.h:22,
from TwiggsMoneyFlow.cpp:4:
/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/include/c++/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~

-- End of Build --

Any ideas/help? Thx

Reply With Quote
  #9 (permalink)
 mkata 
Columbus, OH
 
Experience: Intermediate
Platform: SierraChart
Trading: CL
Posts: 35 since May 2013
Thanks Given: 153
Thanks Received: 24

@rainer01,

I would delete everything above #include "sierrachart.h".
The math and windows library is already included in the Sierra header file.

Reply With Quote
  #10 (permalink)
rainer01
Germany
 
Posts: 2 since Nov 2019
Thanks Given: 0
Thanks Received: 0


@mkata,

thank you, that works.

Attached Files
Elite Membership required to download: TwiggsMoneyFlow.cpp
Reply With Quote




Last Updated on January 26, 2022


© 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