I have figured out the up and down arrow portion., but there's a unwanted orange zigzag line that I would like to remove. TL_SetEnd( TLRef, SwingDate, SwingTime, SwingPrice ) TLRef = TL_New( SwingDate, SwingTime, SwingPrice, SwingDate, SwingTime, If TLDir >= 0 and NewSwingPrice <= SwingPrice - RetracePnts thenĮlse if TLDir = -1 and NewSwingPrice <= SwingPrice then NewSwingPrice = SwingLow( 1, Price, 1, 2 ) NewSwingPrice = SwingHigh( 1, Price, 1, 2 ) Įlse if TLDir = 1 and NewSwingPrice >= SwingPrice then Here is the code for the ZigZag Pnts - indicator for Tradestation: Var8 = TL_New( var2, var3, var1, var2, var3, I also want to get ride of the red Zigzag line.Ĭan someone please tell me how I could fix the code to achieve that ?Ĭondition1 = var4 >= 0 and var0 <= var1 - RetracePnts Ĭondition1 = var4 = -1 and var0 <= var1 I want to have only blue up when the reversal are turning back up at the bottom and vice versa (show down red at the tops). I have the ZigZag signals triggered at the right places except that now the indicators are showing "both" red down and blue up signal simultaneously. Need some help on ZigZag indicator up and down arrows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |