Hi,
I want to show Forex News Days (Say FOMC news 20170315) as indicator?
If I have a file which has a list of FOMC news Dates, can I write indicator code to read this file from prorealtime and process dates and show these dates as 1 (indicator).
Thanks,
Karun
Can we read or write to files in ProRealTime?
Sorry but nothing can be imported into ProBuilder. You’ll have to make your own indicator with multiple dates conditions, here is a rough idea:
//add FOMC dates and separate them with "OR"
FOMC = date=20170403 or date=20170223 or date=20160523
if FOMC then
test = 1
else
test = 0
endif
return test as "it's an FOMC day!"
Hi Nicolas,
The Date is not showing properly, can you please look into the other thread? https://www.prorealcode.com/topic/date-indicator/
Thanks in advance,
Karun
Answered in the other topic 🙂