Hello Everyone
So i have build this strategy on TOS Script and i am currently converting it into python. I have tried converting it multiple times with no success, i have managed to convert only the beginning ( sell to open if low crosses FastMA) but i have not been able to convert this command (price = HIGH) how would you go to converting this to python also how would you go about the whole thing ? i'm new to coding, also i had a question does it have any tolerance i wasn't able to find that information but if some one knows the answer that would be greatly appreciated
thank you
LMR
So i have build this strategy on TOS Script and i am currently converting it into python. I have tried converting it multiple times with no success, i have managed to convert only the beginning ( sell to open if low crosses FastMA) but i have not been able to convert this command (price = HIGH) how would you go to converting this to python also how would you go about the whole thing ? i'm new to coding, also i had a question does it have any tolerance i wasn't able to find that information but if some one knows the answer that would be greatly appreciated
thank you
LMR
Code:
AddOrder(OrderType.SELL_AUTO, low() crosses FastMA, tickColor = GetColor(1), arrowColor = GetColor(1), name = "GoldenCrossBreakoutsLE", price = HIGH);
AddOrder(OrderType.BUY_TO_CLOSE, low() crosses FastMA, tickColor = GetColor(2), arrowColor = GetColor(2), name = "GoldenCrossBreakoutsLX")