Within Market Analyzer or some other way directly via the chart in question ?
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
Alert on touch of price on Donchian centerline
Collapse
X
-
Alert on touch of price on Donchian centerline
A question about what is presumably a basic function in NT8 : what is the simplest way of setting an alert to sound every time price touches the centerline ("mean") of the standard DonchianChannel indicator, please ?
Within Market Analyzer or some other way directly via the chart in question ?Tags: None
-
Hello jtrade,
Thank you for your note.
I put together a sample strategy which will draw an arrow and trigger a sound alert when the price crosses above the mean of the channel.
You could modify the script in the strategy builder to add logic for crossing below, as well as define a touch.
From within the builder you could click the View Code button, and copy this code over to an indicator if you'd prefer that.
Please let us know if you need further assistance.Alan P.NinjaTrader Customer Service
-
Alan - I have tried to copy-paste your code into a blank indicator page, but all i can get is a new indicator wizard.
My intention is to go blank indicator page>paste your strat code twice>modify one side to short>remove strat components> finish with indicator alert I require. I used to be able to this simply with TradeStation.
Help, please, bearing in mind I use NinjaTrader to trade, not to learn programming.
Comment
-
Hello jtrade,
I would suggest importing the script I provided using the following steps,
To Import a NinjaScript into NinjaTrader 8 do the following:
From the Control Center window select Tools -> Import-> NinjaScript...
Find the file location.
Please let us know if you need further assistance.Alan P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ZenCortexCLICK, Today, 04:58 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,279 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
||
Started by Irukandji, Yesterday, 02:53 AM
|
2 responses
17 views
0 likes
|
Last Post
by Irukandji
Today, 03:55 AM
|
||
Started by adeelshahzad, Today, 03:54 AM
|
0 responses
4 views
0 likes
|
Last Post
by adeelshahzad
Today, 03:54 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
13 views
0 likes
|
Last Post Yesterday, 11:58 PM |
Comment