Page 1 of 1

Simple Turnaround Tuesday strategie

Posted: Sat Apr 16, 2022 2:55 am
by Absret111
Hi there,

I came across this Turnaround Tuesday trading strategy. Since I'm a beginner with TradingView so please could someone tell me how to code this in Pine Script?

Strategie:
When to open a position?
If the price is below the 34-day moving average on Monday, a long position will be opened at the market price on Monday evening (on the close).


When will the position be closed?
The position will be closed at the market price on Wednesday morning (on the open).

Thanks in advance

Re: Simple Turnaround Tuesday strategie

Posted: Sun Apr 17, 2022 6:57 pm
by Shenpai
I think there are two problems depending on what you want the strategy use for.

I tried and researched a bit. When you want to backtest the strategy it doesnt seem to work, because the backtesting tool seems to fill orders just a closing price but not at opening price.

If you try to actually use the script you will have problems to trade when the market is closed, so your entry should not work.

Re: Simple Turnaround Tuesday strategie

Posted: Wed Feb 01, 2023 8:32 pm
by processingclouds
Hey,

Your request is very similar to what this is doing
Buy Monday Exit Tuesday with StopLoss and TakeProfit
https://www.tradingview.com/script/dT5b ... ke-Profit/

Check it out and if you still need help creating the above, let me know.