Hello at all please
my problem is TS script on MC weekly timeframe with buy in close
I don't understand why in Ts I can see the buy in close in MC is not possible
i copied the same script from Ts to MC
how can i do ?
please help me
Weekly timeframe buy in close bar
-
- Posts: 4
- Joined: 03 Nov 2022
- Has thanked: 1 time
Weekly timeframe buy in close bar
- Attachments
-
- TS weekly entry in close weekly.png
- (64.04 KiB) Not downloaded yet
-
- MC weekly no Entry in close.jpg
- (93.73 KiB) Not downloaded yet
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
-
- Posts: 4
- Joined: 03 Nov 2022
- Has thanked: 1 time
Re: Weekly timeframe buy in close bar
- Attachments
-
- script ts copy in mc.jpg
- (85.03 KiB) Not downloaded yet
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Weekly timeframe buy in close bar
The chart evaluates the indicator/strategy at the End Of Bar (EOB).
If the conditions are met, an order is triggered at the next tick, which is the opening of the next bar.
Your code will not trigger an order at the end of the week because there is no next bar.
If the conditions are met, an order is triggered at the next tick, which is the opening of the next bar.
Your code will not trigger an order at the end of the week because there is no next bar.
-
- Posts: 4
- Joined: 03 Nov 2022
- Has thanked: 1 time
Re: Weekly timeframe buy in close bar
THX TJThe chart evaluates the indicator/strategy at the End Of Bar (EOB).
If the conditions are met, an order is triggered at the next tick, which is the opening of the next bar.
Your code will not trigger an order at the end of the day because there is no next bar.
Too bad I needed the strategy for the European market.
I will do so as soon as the market opens I will make a screen of the stocks with the buy
in TS it signals me buy in close as you see from the picture
thx
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Weekly timeframe buy in close bar
I believe you could solve that by creating a custom session ending 1min before real close, lets say 830-1559 eastern..
I used to do that when i used mc for trading equities on daily bars. Should work on Weekly bars to..
if not just configure strat to use daily bars instead to simulate weekly timeframe.
I used to do that when i used mc for trading equities on daily bars. Should work on Weekly bars to..
if not just configure strat to use daily bars instead to simulate weekly timeframe.