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
Autotrading with TSI
Collapse
X
-
Hello Jema1,
Thanks for your post and welcome to the NinjaTrader forums!
Yes, you can create those conditions for trading in a strategy.
Forum member s.kinra has shown what the code could possibly look like.
If you are using the Strategy Builder, here are links for further information that may be helpful:
Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htm
Leave a comment:
-
Hello Jema1,
You can have conditions as below:
Code:if(Close[0] > vwap[0]) {[INDENT]if(CrossAbove(tsi1, tsi2, 1)) // Long Entry[/INDENT] } else if(Close[0] < vwap[0]) {[INDENT]if(CrossBelow(tsi1, tsi2, 1)) // Short Entry[/INDENT] }
Hope it helps!
Leave a comment:
-
Autotrading with TSI
Hello, iam new on ninja trader and i speak also french, so it a little bit difficult for me to understand everything ...
I want to know if its possible to create an automated trading strategy based on a custom tsi indicator conbined with the vwap ? in fact i have 2 tsi in one indicator ( i have change some parameters ) , and when the line are crossing i want to make and ordrer just when the lines are crossing, it is possible to automat this and confine this with vwap too ( above or below the vwap .. )?
thank youi for you answersTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by helpwanted, Today, 03:06 AM
|
1 response
7 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
7 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
385 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
Leave a comment: