NexusFi: Find Your Edge


Home Menu

 





Alerts and/or flatten open positions when tier-1 news are scheduled


Discussion in NinjaTrader

Updated
    1. trending_up 2,249 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 9 posts
    2. attach_file 0 attachments




 
Search this Thread

Alerts and/or flatten open positions when tier-1 news are scheduled

  #1 (permalink)
 warcious 
Brisbane + Australia
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG, NinjaTrader Brokerage
Trading: NQ, FDAX
Posts: 104 since Oct 2016
Thanks Given: 35
Thanks Received: 21

I would like to develop a special indicator/strategy for NT7 that would alert me x hours before a tier-1 news regarding any of the major currencies, and I would also want this code to flatten any open positions x minutes before any tier-1 news.

I am open to suggestions on how to solve this the best way, or if I need some more special feature regarding news that I have not thought of.

It has happened once or twice that I missed important tier-1 news and the volatility made my positions go in big loss.

Any ideas are welcome, not only code.
Thank you!

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Deepmoney LLM
Elite Quantitative GenAI/LLM
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Futures True Range Report
The Elite Circle
Better Renko Gaps
The Elite Circle
Exit Strategy
NinjaTrader
 
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


There is an indicator (jteconnews) that will show the news on your chart.
It should be possible to tweak it to close the open positions.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 warcious 
Brisbane + Australia
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG, NinjaTrader Brokerage
Trading: NQ, FDAX
Posts: 104 since Oct 2016
Thanks Given: 35
Thanks Received: 21

It seems outdated unfortunately!

Started this thread Reply With Quote
  #5 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


warcious View Post
It seems outdated unfortunately!

I don't know what about the latest version, you probably have a point.

This is probably the consequence of a slight change in the website
'api/interface' and should not be a major show-stopper.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 warcious 
Brisbane + Australia
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG, NinjaTrader Brokerage
Trading: NQ, FDAX
Posts: 104 since Oct 2016
Thanks Given: 35
Thanks Received: 21

Which interface/api would you recommend for further development?
I mean, which website is probably the best when it comes to news and that my strategy should be based on.
Thanks!

Started this thread Reply With Quote
  #7 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


warcious View Post
Which interface/api would you recommend for further development?
I mean, which website is probably the best when it comes to news and that my strategy should be based on.
Thanks!

There are paid services and free services.
The free service will need to 'scrape' the website to the info (the publisher gets normally paid by the publicity that is pushed to your browser...)

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #8 (permalink)
 warcious 
Brisbane + Australia
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG, NinjaTrader Brokerage
Trading: NQ, FDAX
Posts: 104 since Oct 2016
Thanks Given: 35
Thanks Received: 21


rleplae View Post
There are paid services and free services.
The free service will need to 'scrape' the website to the info (the publisher gets normally paid by the publicity that is pushed to your browser...)

So, you mean the content would be exactly the same between different websites etc, but if you pay you dont have any adds? I want a serious news service, so I dont money on my positions because of a missed news event.

Any you would recommend?
I use https://www.dailyfx.com/calendar
The indicator you showed me uses Forex Factory

Started this thread Reply With Quote
  #9 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


warcious View Post
So, you mean the content would be exactly the same between different websites etc, but if you pay you dont have any adds? I want a serious news service, so I dont money on my positions because of a missed news event.

Any you would recommend?
I use https://www.dailyfx.com/calendar
The indicator you showed me uses Forex Factory

The major news is covered by all of the websites/service providers.
You just need to pick one and implement :
1) screen scraping (you emulate a browser request and parse the reply
2) API, most if not all APIs are paid for

This is for the economic calendar that is upfront known

If you want to catch unforeseen news event, like a terrorist attack, plane crash or any other event
that will be much more tricky..

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #10 (permalink)
 warcious 
Brisbane + Australia
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG, NinjaTrader Brokerage
Trading: NQ, FDAX
Posts: 104 since Oct 2016
Thanks Given: 35
Thanks Received: 21


Thank you for your reply!

So is forexfactory.com the best news calendar available online for active traders?

Started this thread Reply With Quote




Last Updated on January 9, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts