Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Reference Points
Collapse
X
-
Reference Points
what i am asking is can i create a point of reference meaning this. Lets say GBP is rising and the ema 2 crosses above the ema 13. That point where they cross would be a reference point. I can then say when ema 2 crosses (at some point later in time) below the equivalent price at which the ema 2 crossed above the ema 13 - enter me short. so say the initial cross was at a price of 1.6550 and who knows maybe price went up to 1.6750, regardless, when ema 2 crosses below 1.6550, a point of reference created by the initial cross it will then take me short.
Comment
-
I believe this could get you started in the direction of what you seek: with CalculateOnBarClose set to false (updates on each incoming tick) evaluate the CrossOver rule and then the tick it returns 'true' save the last price to a variable and submit this a Entry limit order then. Of course you would need to add some safeguards against multiple orders being generated due to running this each tick and thus your entry condition can be become true / false multiple times intrabar.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Lance El Camino, Today, 04:14 PM
|
1 response
12 views
0 likes
|
Last Post
![]()
by s.kinra
Today, 07:50 PM
|
||
Started by jtrading82, Today, 04:56 PM
|
1 response
6 views
0 likes
|
Last Post
|
||
Started by dmking, Today, 06:00 PM
|
1 response
6 views
0 likes
|
Last Post
|
||
Started by WHICKED, Today, 03:23 PM
|
1 response
12 views
0 likes
|
Last Post
|
||
Started by demarcog, Today, 02:24 PM
|
1 response
10 views
0 likes
|
Last Post
|
Comment