Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Help please?
Collapse
X
-
Originally posted by Pavel View PostAnyone can help me converting the .eld file attached to Ninjatrader format?...will greatly appreciate it...it is a good indicator...giving signal 1 bar before Stochastics and showing divergence much better and sooner
Not everyone here has TradeStation or MultiCharts, so they can not see the code
-
Originally posted by Pavel View Postneither do I...I got no idea how to do that...
Basically this is the velocity of Stochastic SlowD times a multiplier plus 50. The text code can be downloaded at that site.
Code:variables: oFastD( 0 ), oFastK( 0 ), oSlowD( 0 ), oSlowK( 0 ), up_pt(0), dn_pt(0), TidalWave(0); Value1 = Stochastic( PriceH, PriceL, PriceC, SthLength, SmoothingLength1, SmoothingLength2, SmoothingType, oFastK, oFastD, oSlowK, oSlowD ) ; TidalWave = ( oslowd - oslowd[1] ) * TidalWavemulti +50 ;
Comment
-
thank you...here is the code
inputs:
OverSold( 20 ), OverBought( 80 ),
PriceC( (c+c[1])/2 ), PriceH( High ), PriceL( Low ),
SmoothingLength1( 3 ), { used to slow FastK to FastD = SlowK }
SmoothingLength2( 3 ), { used to slow FastD to SlowD }
SmoothingType( 1 ), { pass in 1 for Original, 2 for Legacy }
SthLength( 14 ),
upCol(blue), DnCol(red),
TidalWavemulti(2);
variables:
oFastD( 0 ), oFastK( 0 ), oSlowD( 0 ), oSlowK( 0 ),
up_pt(0), dn_pt(0),
TidalWave(0);
Value1 = Stochastic( PriceH, PriceL, PriceC, SthLength, SmoothingLength1,
SmoothingLength2, SmoothingType, oFastK, oFastD, oSlowK, oSlowD ) ;
TidalWave = ( oslowd - oslowd[1] ) * TidalWavemulti +50 ;
Plot1( OverBought, "OverBot" ) ;
Plot2( OverSold, "OverSld" );
plot3(50,"50") ;
{== set oslowd color ==}
plot4 (TidalWave, "TidalWave");
if TidalWave > TidalWave[1] then
SetPlotColor[1](4, upcol)
else
SetPlotColor[1](4, dncol);
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by eduardodipp7, Today, 10:29 AM
|
0 responses
1 view
0 likes
|
Last Post
by eduardodipp7
Today, 10:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
39 responses
272 views
0 likes
|
Last Post
by f.saeidi
Today, 10:23 AM
|
||
Started by ninza33, Today, 09:10 AM
|
1 response
10 views
0 likes
|
Last Post Today, 09:46 AM | ||
Started by goodknight777, Today, 08:43 AM
|
1 response
6 views
0 likes
|
Last Post Today, 09:25 AM | ||
Started by kramnor2001, Yesterday, 02:30 PM
|
3 responses
21 views
0 likes
|
Last Post
by kramnor2001
Today, 09:20 AM
|
Comment