def main(): records = exchange.GetRecords(PERIOD_H1) Log{“le nombre de racines de K”, len{“records”) Il est également l’auteur d’un livre intitulé “The K Line”, publié par Recordings. Log(“EMA144”,TA.EMA(records, 144)) Log(“EMA676”,TA.EMA(records, 676)) if records and len(records) > 676: TA.EMA(r, 676) TA.MACD(r, 144, 169, 12)