Peppermshrimp
New member
I made over $1,500 today using a Strategy I found here, started on November 25, 2020 by @Learnbot...so I decided that I needed to join the VIP group. Now, I am overwhelmed with the amount of data available. Instead of getting lost in all of the information on the forum, I'd like to continue to work on the strategy @Learnbot and @generic worked out in link I provided above. The problem is that once they figured out the best thinkscript for the strategy, the new code was never posted. I've tried to follow the changes they implemented, but get lost.
My question:
1 - Is the strategy that Learnbot and generic worked out posted somewhere in it's entirety on the forum somewhere?
2 - Is there a list of highest ranked strategies, along with the completed code, somewhere on this site?
Thank you for your help. I look forward to learning more about thinkscript!
Here is the code I used, that I got from the AddOrder thinkScript - Backtest Buy & Sell in ThinkorSwim thread. On November 25, 2020,
https://usethinkscript.com/threads/...buy-sell-in-thinkorswim.741/page-4#post-42428
Learnbot said he/she started with a VIP indicator and made some changes.
My question:
1 - Is the strategy that Learnbot and generic worked out posted somewhere in it's entirety on the forum somewhere?
2 - Is there a list of highest ranked strategies, along with the completed code, somewhere on this site?
Thank you for your help. I look forward to learning more about thinkscript!
Here is the code I used, that I got from the AddOrder thinkScript - Backtest Buy & Sell in ThinkorSwim thread. On November 25, 2020,
https://usethinkscript.com/threads/...buy-sell-in-thinkorswim.741/page-4#post-42428
Learnbot said he/she started with a VIP indicator and made some changes.
Code:
input length = 20;
input trendSetup = 3;
def BodyMax = Max(open, close);
def BodyMin = Min(open, close);
def IsEngulfing = BodyMax > BodyMax[1] and
BodyMin < BodyMin[1];
def IsWhite = open < close;
def IsBlack = open > close;
def IsPrevDoji = IsDoji(length)[1];
def Bullish = IsDescending(close, trendSetup)[1] and
(IsBlack[1] or IsPrevDoji) and
IsWhite and
IsEngulfing;
def sell_condition = if Bullish then close else sell_condition[1];
def sell_location = (2/100) * sell_condition;
input tradeSize = 100;
def IN = Bullish;
def OUT = sell_condition - sell_location;
AddOrder(OrderType.BUY_TO_OPEN, IN, open[-1], tradeSize, Color.CYAN, Color.CYAN);
AddOrder(OrderType.Sell_TO_CLOSE, OUT, open[-1], tradeSize, Color.CYAN, Color.CYAN);
plot data = OUT;
data.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
data.SetDefaultColor(Color.YELLOW);
mod note:
AddOrder scripts posted to the forum are required to use the open of the NEXT bar: open[-1] for the trade entry and exits. Therefore, the above script has been edited
Last edited by a moderator: