I busted the MC Momentum LE and SE script :-( Where can I find the orignal script?  [SOLVED]

Questions about MultiCharts and user contributed studies.
quantum777
Posts: 38
Joined: 18 Dec 2014
Has thanked: 6 times
Been thanked: 1 time

I busted the MC Momentum LE and SE script :-( Where can I find the orignal script?

Postby quantum777 » 22 Aug 2018

Hi, I busted the MC Momentum LE and SE script :-(
I was trying to convert the SE to Long Exit and messed up PLUS I did not save my boo boo's with a different name.
Where can I find the original script for MC Momentum LE and SE and has anyone converted Momentum SE to LX (long exit)?
I am embarrassed.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: I busted the MC Momentum LE and SE script :-( Where can I find the orignal script?

Postby TJ » 22 Aug 2018

Code: Select all


// Momentum LE


[IntrabarOrderGeneration = false]
inputs: Price( Close ), Length( 12 ) ; ;
variables: var0( 0 ), var1( 0 ) ;

var0 = Momentum( Price, Length ) ;
var1 = Momentum( var0, 1 ) ;

condition1 = var0 > 0 and var1 > 0 ;
if condition1 then
Buy ( "MomLE" ) next bar at High + 1 point stop ;


User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: I busted the MC Momentum LE and SE script :-( Where can I find the orignal script?

Postby TJ » 22 Aug 2018

Code: Select all


// Momentum SE

[IntrabarOrderGeneration = false]
inputs: Price( Close ), Length( 12 ) ;
variables: var0( 0 ), var1( 0 ) ;

var0 = Momentum( Price, Length ) ;
var1 = Momentum( var0, 1 ) ;

condition1 = var0 < 0 and var1 < 0 ;
if condition1 then
Sell Short ( "MomSE" ) next bar at Low - 1 point stop ;

quantum777
Posts: 38
Joined: 18 Dec 2014
Has thanked: 6 times
Been thanked: 1 time

Re: I busted the MC Momentum LE and SE script :-( Where can I find the orignal script?

Postby quantum777 » 23 Aug 2018

TJ, thank you for your prompt reply!
When you have time could you show me the script for a momentum LX (Long Exit), please.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: I busted the MC Momentum LE and SE script :-( Where can I find the orignal script?  [SOLVED]

Postby TJ » 23 Aug 2018

TJ, thank you for your prompt reply!
When you have time could you show me the script for a momentum LX (Long Exit), please.

Sorry I do not have those scripts.

Xyzzy
Posts: 162
Joined: 19 Mar 2011
Has thanked: 43 times
Been thanked: 79 times

Re: I busted the MC Momentum LE and SE script :-( Where can I find the orignal script?

Postby Xyzzy » 23 Aug 2018

I believe that MultiCharts will reinstall the original scrips if you run the installer again and select "repair." Just be sure to make a backup before you do.

By the way, the MultiCharts "Backup" utility is a great way to backup your studies regularly.


Return to “MultiCharts”