Support Board
Date/Time: Wed, 27 Nov 2024 07:38:58 +0000
Post From: Programming help-automate with spreadsheet-trigger when bar CLOSES above
[2023-09-06 21:35:54] |
User120358 - Posts: 29 |
I really appreciate your reply! I have been browsing the forum and you are seriously knowledgeable with this stuff. Most things I've found have been moving average systems, I am trying to get an entry once prices closes above a TAS box. I found some code you posted for someone else, and I've adjusted it using another post of yours I found. TAS box is ID19, SG1, I got it working using this code: =CROSSFROMBELOW(E3:E4,ID19.SG1@3:ID19.SG1@4) For the stop signal, the study is ID20, SG1, but it doesn't have to close below, just exit the trade on touch. =CROSSFROMABOVE(E3:E4,ID20.SG2@3:ID20.SG2@4) This code is almost right, but it is still for the close below.. I believe its the E3:E4, but when I take it away, it throws ARGS.. Would you be able to tell me how to make it just a cross/touch? Thank you in advance! Date Time Of Last Edit: 2023-09-06 22:57:36
|