NexusFi: Find Your Edge


Home Menu

 





NFP


Discussion in TradeStation

Updated
    1. trending_up 2,813 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?
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
Probability Collapse: Bitcoin $150k Craters from 15% to …
Prediction Markets & Event Contracts
Asia Equities Crash Overnight -- Nikkei -5.2%, KOSPI -6. …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 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,241 since Dec 2013
Thanks Given: 4,584
Thanks Received: 10,523

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,241 since Dec 2013
Thanks Given: 4,584
Thanks Received: 10,523

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


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