I'm struggling with some logic and would appreciate some input / suggestions how how best to tackle an EFS enhancement I'm working on.
I currently have a EFS script that calculates some specific price targets based on recent price action. I have these levels marked on the chart with a drawRelative function.
What I am trying to achieve is to extend a horizontal line from the price level target, to the right, until such time as price action penetrates this level. In effect I have multiple Support & Resistance lines being drawn until such time as price touches them.
I am manually drawing these lines in currently, but I believe there has to be a way to get EFS to do it automatically.
I looked into the 'Filled_Gaps' code here for some ideas, and if you increase the limit #, behaves similar to what I am looking to achieve, the restriction is I cannot seem to get this script to handle multiple price levels simulatenously.
Any and all ideas welcomed and greatly appreciated.
I currently have a EFS script that calculates some specific price targets based on recent price action. I have these levels marked on the chart with a drawRelative function.
What I am trying to achieve is to extend a horizontal line from the price level target, to the right, until such time as price action penetrates this level. In effect I have multiple Support & Resistance lines being drawn until such time as price touches them.
I am manually drawing these lines in currently, but I believe there has to be a way to get EFS to do it automatically.
I looked into the 'Filled_Gaps' code here for some ideas, and if you increase the limit #, behaves similar to what I am looking to achieve, the restriction is I cannot seem to get this script to handle multiple price levels simulatenously.
Any and all ideas welcomed and greatly appreciated.
Comment