NexusFi: Find Your Edge


Home Menu

 





NFP


Discussion in TradeStation

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




 
Search this Thread

NFP

  #1 (permalink)
riccardo1981
Verona Italy
 
Posts: 7 since Sep 2021
Thanks Given: 2
Thanks Received: 4

Hi to everyone,
i would like to understand if there is a kind of code to avoid any trade during the NFP.

At the moment the only solution that i found is specify for each dayofweek the NFP date

eg

if dayofweek <> 0211008 and dayofweek <> 0211105 and dayofweek <> 0211203 then buy next bar at high stop

if dayofweek <> 0211008 and dayofweek <> 0211105 and dayofweek <> 0211203 then sellshort next bar at low stop

Are there any other "smart" solution ?

Many Thanks
R.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Historical data for Kospi and Nikkei Index
NinjaTrader
Help re translation of ninjascript to EL
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
What You Know vs How much you know about it
Traders Hideout
Has anyone taken The Confident Trader course from aheadc …
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
HumbleTraders next chapter
53 thanks
Tao te Trade: way of the WLD
45 thanks
What is Markets Chat (markets.chat) real-time trading ro …
34 thanks
ApexTraderFunding.com experience and review
26 thanks
1 Minute Man
19 thanks
  #2 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT Stellar & Tradestation
Broker: Primarily Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals, U308 and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,059 since Dec 2013
Thanks Given: 4,410
Thanks Received: 10,226

NFP being Non Farm Payroll?

Isn't Non Farm Payroll first Friday of the month? If so something like (quasicode)

 
Code
Var: IsNFPDay(FALSE);

If ( DayofMonth(date) < 8 and DayofWeek(date) = Friday ) then IsNFPDay = TRUE else IsNFPDay = FALSE.

If not(IsNFPDay) then trade away

Reply With Quote
  #3 (permalink)
Kolnidrei
Lyon/France
 
Posts: 23 since Aug 2012
Thanks Given: 1
Thanks Received: 14


hi may be simply :
 
Code
condition1 = DayOfWeek(date) = 5 and Month(date) <> Month(date[5]);

Reply With Quote
Thanked by:
  #4 (permalink)
riccardo1981
Verona Italy
 
Posts: 7 since Sep 2021
Thanks Given: 2
Thanks Received: 4


SMCJB View Post
NFP being Non Farm Payroll?

Isn't Non Farm Payroll first Friday of the month? If so something like (quasicode)

 
Code
Var: IsNFPDay(FALSE);

If ( DayofMonth(date) < 8 and DayofWeek(date) = Friday ) then IsNFPDay = TRUE else IsNFPDay = FALSE.

If not(IsNFPDay) then trade away

Next month ( October 2021 ) NFP are not in first Friday of Month 01.10.2021 ot 10.01.2021 but 08.10.2021 or 10.08.2021

Reply With Quote
  #5 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT Stellar & Tradestation
Broker: Primarily Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals, U308 and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,059 since Dec 2013
Thanks Given: 4,410
Thanks Received: 10,226

Is that because the 1st Friday is the 1st? Is there an actual rule on the date?

Reply With Quote
  #6 (permalink)
riccardo1981
Verona Italy
 
Posts: 7 since Sep 2021
Thanks Given: 2
Thanks Received: 4

mmm.. let me say.. in all website / article etc.. i always read first friday of month.. but yes next month could be an exception since we are on the 1st of Month..

So to avoid "going crazy" your suggestion is ok

Many Thanks
R.

Reply With Quote




Last Updated on September 27, 2021


© 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 - Sitemap - Downloads - Top
no new posts