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
Where to start if I want to create a strategy on a trading set-up?
Collapse
X
-
Hello! This question will certainly make you "laugh"!
Code:EnterLongStopLimit(highestHigh+TickSize,High[0],""); EnterShortStopLimit(lowestLow-TickSize,Low[0],"");
Thank you. Have a relaxing weekend.
Beth
Comment
-
Originally posted by belecona View PostHello! This question will certainly make you "laugh"!
Code:EnterLongStopLimit(highestHigh+TickSize,High[0],""); EnterShortStopLimit(lowestLow-TickSize,Low[0],"");
Thank you. Have a relaxing weekend.
Beth
Comment
-
Thanks Sledge. Is my code asking the system to enter a StopLimit order @HH+1 tick (or LL-1 tick) + displaying the current H/L? I noticed from the Orders tab a Stop section with price corresponded to the H/L. Please confirm my understanding. Thank you.
Beth
Comment
-
Originally posted by belecona View PostThanks Sledge. Is my code asking the system to enter a StopLimit order @HH+1 tick (or LL-1 tick) + displaying the current H/L? I noticed from the Orders tab a Stop section with price corresponded to the H/L. Please confirm my understanding. Thank you.
Beth
Definition
Generates a buy stop limit order to enter a long position.
Code:EnterLongStopLimit(double limitPrice, double stopPrice, string signalName)
Code:EnterLongStopLimit(highestHigh+TickSize,High[0],"");
limitPrice is highestHigh+TickSize -- The limit price of the order.
stopPrice is High[0] -- The stop price of the order.
signalName is ""
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by elirion, Today, 09:32 PM
|
0 responses
5 views
0 likes
|
Last Post
by elirion
Today, 09:32 PM
|
||
Started by cre8able, Today, 09:15 PM
|
1 response
7 views
0 likes
|
Last Post
by bltdavid
Today, 09:24 PM
|
||
Started by cummish, Today, 08:43 PM
|
0 responses
13 views
0 likes
|
Last Post
by cummish
Today, 08:43 PM
|
||
Started by Option Whisperer, Today, 07:58 PM
|
4 responses
21 views
0 likes
|
Last Post Today, 08:32 PM | ||
Started by ETFVoyageur, 05-07-2024, 07:05 PM
|
13 responses
87 views
0 likes
|
Last Post
by ETFVoyageur
Today, 08:14 PM
|
Comment