- ago
This way there is only one trade per day per ticker. I keep having a trade that will get placed, then stopped out, then re-entered on repeat. I'd like to just add a condition saying one attempt per day.

Thanks,
Steptank
0
303
Solved
3 Replies

Reply

Bookmark

Sort
Cone8
 ( 23.86% )
- ago
#1
Sure, we can add that to the Power Pack extension.

If you want to try it in C# code, here's the condition to use -
CODE:
if (LastPosition == null || idx - bars.IntradayBarNumber(idx) > LastPosition.EntryBar)
1
Best Answer
- ago
#2
@steptank

In the future, please tag your requests with #FeatureRequest.

And just to remind, we've got such feature in Strategy Settings > Position Sizing > Advanced Pos Sizer > "Max Entries Per Bar". For intraday trades it can sum up positions opened during the day.

1
Cone8
 ( 23.86% )
- ago
#3
The Power Pack rule will be a more obvious solution.. although if you have multiple entry rules, you'll need to add it to each entry block. Also, you'll be able to use any of the other Position sizers too.
0

Reply

Bookmark

Sort