Support Board
Date/Time: Tue, 04 Feb 2025 16:46:58 +0000
Post From: Ninja Trader 7 code block converted over to Sierra code
[2018-09-12 18:40:31] |
User701453 - Posts: 176 |
Did the copy and paste of code. compiled and removed. then place study back on chart. Made a factor input change from 1.6 to 2 and lines overlapped again. Hit the insert key to reload and recal chart and lines matched the background switch again. I thought it might need to wait until bar close to run the code. So I added this code block before the persistant vars. if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_NOT_CLOSED) return; Recompile and hit insert key. Lines match the background. Changed the factor value and lines no longer match. Hit insert key and lines match again. Lines are repainting. So, I guess waiting until the bar closes doesn't solve the line and back ground mismatch. Screen shots below..even tho the file name says no gap fill. chart is set for a gap fill of "fill all gaps" Date Time Of Last Edit: 2018-09-12 18:53:06
|
sc_josey6_no gapfill_on input change.PNG / V - Attached On 2018-09-12 18:42:39 UTC - Size: 14.87 KB - 315 views sc_josey6_no gapfill_after_chart_reload&cal.PNG / V - Attached On 2018-09-12 18:42:47 UTC - Size: 18.4 KB - 360 views |