{"id":183,"date":"2010-08-31T09:40:16","date_gmt":"2010-08-31T16:40:16","guid":{"rendered":"http:\/\/qclsolutions.com\/home\/?p=183"},"modified":"2010-08-31T09:44:14","modified_gmt":"2010-08-31T16:44:14","slug":"how-can-i-modify-to-find-the-highest-high-for-bar-range-of-10-through-30-bars-ago","status":"publish","type":"post","link":"https:\/\/qclsolutions.com\/home\/?p=183","title":{"rendered":"How can I modify to find the highest high for bar range of 10 through 30 bars ago?"},"content":{"rendered":"<p><u>Question:<\/u><br \/>\n<b>value1 = highest(high,30);<\/b><br \/>\nHow can I modify the above to find the highest high for bar range of 10 through 30 bars ago?<\/p>\n<p><u>Answer:<\/u><br \/>\nFirst of all, note that in EasyLanguage Highest(High, 30) returns the highest High value of the referenced datastream, between the current bar and the 29th previous bar (i.e. between High[0] and High[29]). So, if you want to know the highest high between 10 bars ago and 30 bars ago, you could use an EasyLanguage statement like the following:<br \/>\n<b>value1 = Highest(High,21)[10];<\/b><br \/>\nThat returns the highest High between High[10] and High[30].<\/p>\n<p>The following statement return the same value:<br \/>\n<b>value1 = Highest(High[10],21);<\/b><\/p>\n<p>Regards,<br \/>\nDavid O&#8217;Dell<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: value1 = highest(high,30); How can I modify the above to find the highest high for bar range of 10 through 30 bars ago? Answer: First of all, note that in EasyLanguage Highest(High, 30) returns the highest High value of the referenced datastream, between the current bar and the 29th previous bar (i.e. between High[0] [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/183"}],"collection":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183"}],"version-history":[{"count":14,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions"}],"predecessor-version":[{"id":197,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions\/197"}],"wp:attachment":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}