Weekly timeframe buy in close bar

Questions about MultiCharts and user contributed studies.
Rangers1970
Posts: 4
Joined: 03 Nov 2022
Has thanked: 1 time

Weekly timeframe buy in close bar

Postby Rangers1970 » 07 Nov 2022

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
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

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Weekly timeframe buy in close bar

Postby TJ » 07 Nov 2022

If this is a coding question, you have to post your codes.

viewtopic.php?t=11713

Rangers1970
Posts: 4
Joined: 03 Nov 2022
Has thanked: 1 time

Re: Weekly timeframe buy in close bar

Postby Rangers1970 » 08 Nov 2022

If this is a coding question, you have to post your codes.

viewtopic.php?t=11713
Attachments
script ts copy in mc.jpg
(85.03 KiB) Not downloaded yet

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Weekly timeframe buy in close bar

Postby TJ » 13 Nov 2022

If this is a coding question, you have to post your codes.

viewtopic.php?t=11713
See post #5
viewtopic.php?t=11713

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Weekly timeframe buy in close bar

Postby TJ » 13 Nov 2022

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.

Rangers1970
Posts: 4
Joined: 03 Nov 2022
Has thanked: 1 time

Re: Weekly timeframe buy in close bar

Postby Rangers1970 » 14 Nov 2022

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 day because there is no next bar.
THX TJ
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

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Weekly timeframe buy in close bar

Postby TJ » 17 Nov 2022

Is that a backtest you had on the first post?

Salzburg
Posts: 140
Joined: 19 Sep 2018
Has thanked: 9 times
Been thanked: 35 times

Re: Weekly timeframe buy in close bar

Postby Salzburg » 18 Nov 2022

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.


Return to “MultiCharts”