Support Board
Date/Time: Sat, 22 Feb 2025 09:28:25 +0000
Post From: Buy/Sell Pressure Study Help
[2021-01-24 05:56:15] |
User208416 - Posts: 39 |
iam trying to use the buysell pressure code by crazybears but it failes with an error while compiling . any one knows what is wrong with the BuySellPressure2.cpp code ? -- Starting remote build of Custom Studies Source files: BuySellPressure2.cpp. 64-bit -- 21:47:06 Allow time for the server to compile the files and build the DLL. The remote build did not succeed. Result: BuySellPressure2.cpp: In function 'void scsf_BUYSELLPRESS2(SCStudyInterfaceRef)': BuySellPressure2.cpp:41:116: error: 'DAYS' was not declared in this scope 41 | SCDateTime NextSessionStart = sc.GetTradingDayStartDateTimeOfBar(sc.BaseDateTimeIn[sc.UpdateStartIndex - 1 ]) + 1*DAYS; | ^~~~ -- End of Build -- 21:47:10 |