♥ 0 |
Hi Pete, I’m interested to have one of the default strategies of Thinkorswim named “RSITrend” on my watch list. I have attempted to create this based on the video I have found, but it was challenging as there are two “sell” condition (RSI_LX and TrendLX). I am trying to set the plot showing 1 when RSI_LE is triggered and 0 when either RSI_LX or TrendLX is hit. The original strategies thinkScript is as below. # input price = close; def rsi = reference RSI(price = price, length = length, averageType = averageType); AddOrder(OrderType.BUY_AUTO, rsi crosses above overSold and trend == 1, tickColor = GetColor(0), arrowColor = GetColor(0), name = “RSI_LE”);
Marked as spam
|
Please log in to post questions.