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
Manual trendline break auto entry
Collapse
X
-
Manual trendline break auto entry
Im looking to draw my own trendline for example if price is moving up i want to manually draw a trendline in a downward sloping position using pivot points for my connection and when price moves through and above that trendline it will automatically enter a long trade with the stop and profit targets already pre set to my parameters and do the same thing for a short signal. And also i would like the ability to move the stop and profit targets after trade has triggered if need be. Thank youTags: None
-
Hello born again,
It is possible to draw a trend channel from a NinjaScript Strategy.
Below is a link to the help guide on Draw.TrendChannel().
If you are just wanting to draw a single line this can be done with Draw.Line().
To place a market order this can be done with EnterLong() or EnterShort().
Stop losses and profit targets can be set with SetStopLoss() and SetProfitTarget().
Also, below I am providing a link to a forum post with helpful information about getting started with NinjaScript.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by PaulMohn, Today, 09:12 AM
|
0 responses
2 views
0 likes
|
Last Post
by PaulMohn
Today, 09:12 AM
|
||
Started by thumper57, 05-11-2024, 04:30 PM
|
13 responses
38 views
0 likes
|
Last Post Today, 09:12 AM | ||
Started by llanqui, Yesterday, 10:29 AM
|
2 responses
15 views
0 likes
|
Last Post
by llanqui
Today, 09:06 AM
|
||
Started by llanqui, Yesterday, 11:10 AM
|
2 responses
22 views
0 likes
|
Last Post
by llanqui
Today, 09:03 AM
|
||
Started by eladlevi, Today, 08:41 AM
|
3 responses
5 views
0 likes
|
Last Post Today, 08:57 AM |
Comment