![]() Value3 = SwingLowBar(OccurL1,PriceL1,StrenL,Len) Value2 = SwingHighBar(OccurH2,PriceH2,StrenH,Len) Value1 = SwingHighBar(OccurH1,PriceH1,StrenH,Len) StrenL(numericsimple),Len(numericsimple) ![]() PriceL1(numericseries),PriceL2(numericseries),StrenH(numericsimple), ![]() OccurH1(numericsimple),OccurH2(numericsimple),OccurL1(numericsimple), Type : Function, Name : Triangle Pattern Indicator The trader can then apply logical trendlines to establish break-out points. The indicator plotsĪ simple "spike" graph, alerting the trader to the presence of a triangle. Triangles can be calculated by increasing the strength and/or HighestBar/LowestBar range settings. Indicator calculates triangles based on SwingHighs and lows of a 10 day range, and with a swing strength of "1". ![]() Here's the code, indicator's at the bottom, function at the top: Have tried this older Triangle Pattern Code I found on the net for Tradestation, but apparently the code has changed, and it doesn't recognize the word triangle. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |