Announcement
Collapse
No announcement yet.
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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
69 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
36 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
96 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
59 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment