NexusFi: Find Your Edge


Home Menu

 





NFP


Discussion in TradeStation

Updated
    1. trending_up 2,941 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?
Roland Garros Final Day: $3M on Zverev at 80.5% -- Leban …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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,243 since Dec 2013
Thanks Given: 4,586
Thanks Received: 10,533

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,243 since Dec 2013
Thanks Given: 4,586
Thanks Received: 10,533

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