You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseValueError("Specified box_size may not be larger than (50% of the close price range of the dataset) which has value: "+str(upper_limit))
951
949
elifbox_size<lower_limit:
952
950
raiseValueError("Specified box_size may not be smaller than (0.01* the Average True Value of the dataset) which has value: "+str(lower_limit))
953
951
954
-
ifreversal<2:
955
-
raiseValueError("Specified reversal may not be smaller than 2")
956
-
elifreversal*box_size>upper_limit*0.6:
957
-
raiseValueError("Product of specified box_size and reversal which has value: "+str(reversal*box_size) +" may not exceed (30% of the close price range of the dataset) which has value: "+str(upper_limit*0.6))
952
+
ifreversal<1orreversal>9:
953
+
raiseValueError("Specified reversal must be an integer in the range [1,9]")
0 commit comments