-
-
Save devangmukherjee/1ff28d883d6a926f6299d091cdea6bb0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def Compile(ohlc_1day,ticker): | |
buy=0 | |
sell=0 | |
EB=Expansion_Breakouts(ohlc_1day,ticker) | |
if EB == "b": | |
buy+=1 | |
if EB == "s": | |
sell+=1 | |
OTP = OTT_Pullback(ohlc_1day,ticker) | |
if OTP == "b": | |
buy+=1 | |
if OTP == "s": | |
sell+=1 | |
EP = Expansion_pivots(ohlc_1day,ticker) | |
if EP == "b": | |
buy+=1 | |
if EP == "s": | |
sell+=1 | |
OE = One_eighty(ohlc_1day,ticker) | |
if OE == "b": | |
buy+=1 | |
if OE == "s": | |
sell+=1 | |
GI = Gilligan_Island(ohlc_1day,ticker) | |
if GI == "b": | |
buy+=1 | |
if GI == "s": | |
sell+=1 | |
BO = Boomer(ohlc_1day,ticker) | |
if BO == "b": | |
buy+=1 | |
if BO == "s": | |
sell+=1 | |
SS = Slingshot(ohlc_1day,ticker) | |
if SS == "b": | |
buy+=1 | |
if SS == "s": | |
sell+=1 | |
WH =Whoops(ohlc_1day,ticker) | |
if WH == "b": | |
buy+=1 | |
if WH == "s": | |
sell+=1 | |
LZ = Lizards(ohlc_1day,ticker) | |
if LZ == "b": | |
buy+=1 | |
if LZ == "s": | |
sell+=1 | |
print(buy) | |
print(sell) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment