# This gets the # of significant digits to round values to.ĭef rf = fold index = 1 to 10 with c = 1 while power(10,index)*ticksize()%1 != 0 do c+1 ĭef mf = if normalizeToTwoDps then power(10,rf-2) else 1 ĭef srFactor = if plotTargetsInsteadOfSR then. forex, penny stocks) as if they are large values with two digits after the decimal. Input normalizeToTwoDps = yes #hint normalizeToTwoSDs: treat small values (e.g. Input ShowAfterHours = yes #hint ShowAfterHours: show gann9 levels after hours Input PlotTargetsInsteadOfSR = no #hint PlotTargetsInsteadOfSR: Plot targets instead of support/resistance. Input SecondUpdate = 90 #hint SecondUpdate: Minutes after Regular Trading Start to update Input FirstUpdate = 30 #hint FirstUpdate: Minutes after Regular Trading Start to update Second Update minutes after RTH Start defined by input SecondUpdate First Update minutes after RTH Start defined by input FirstUpdate # based on the open price at the following times: # Calculates the GANN Square of Nine buy/sell lines, and 5 Support / Resistance targets # v 1.1 - 20210727 - Added Buy Above / Sell Below Labels # v 1.2 - 20211222 - Added function to normalize to two decimal places, fixed fit studies bug
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |