Support Board
Date/Time: Thu, 10 Jul 2025 03:27:08 +0000
Post From: Time Range Formula
[2018-05-05 12:48:35] |
User172040 - Posts: 70 |
Hi, I want to test signals only on RTH in the spreadsheet for trading study. I copied your code at this link (Spreadsheet Systems, Alerts and Automated Trading: Limiting Trading to Certain Time Ranges) and dumped it in a open cell in the spreadsheet study (cell P). Please see 'Time Formula' attachment. The code is exactly the same as per link so why do I get a #NAME? error (I did look at the Spreadsheet errors section but in this instance I dont know what the issue is). Cell J41 is the relevant cell for date and time in my sheet. Then I reference cell P in my 'Buy Entry' (K) column as can be seen in attachment 'Buy Entry'. However, when I run a backtest with the reference to GETTIMEFROMDATETIMEVALUE, I get no signals although after manual inspections, there are clear instances where signals should be given. When I remove the GETTIMEFROMDATETIMEVALUE reference from my 'Buy Entry' column I get my signals again. Can you please provide some guidance? |
![]() ![]() |