- ago
Hi there,

I'd like to buy 1.5% below the lowest of the last two lows but not counting the current candle. If I select the lowest indicator, it counts the current candle. Any ideas?
Also, how do I close my position at the close or near the close of the same candle (daily)? All in building blocks.
0
270
Solved
4 Replies

Reply

Bookmark

Sort
- ago
#1
Hello,

QUOTE:
I'd like to buy 1.5% below the lowest of the last two lows but not counting the current candle. If I select the lowest indicator, it counts the current candle. Any ideas?

What is the "current" bar exactly and why are you trying to exclude it?

QUOTE:
Also, how do I close my position at the close or near the close of the same candle (daily)? All in building blocks.

Please do a forum search before asking this basic question. Not only it's offtopic, it has already been raised many times before. Thanks.
0
Cone8
 ( 6.07% )
- ago
#2
The 'current' candle is the one that you're making a trading decision on. What else would you call it?
The 'why' doesn't matter - 'why not' test everything?

@andersonbasdao -
Use the OffsetInd Transformer Indicator to apply to the Lowest Indicator -



Re: close my position at the close.. of the same candle
Except for "Same-[as entry]-bar exits", you can only trigger signals to sell on the next bar. The PowerPack has a Sell NextBar at Market Close signal. Since in live trading you can get an estimate of the close with partial bar data, you can place that order manually. The trick is conditioning that signal (peeking) for a backtest. What would be your condition to exit?
0
Best Answer
- ago
#3
Offsetind!!!! That's it! Thank you
I'm very sorry for the basic question.
0
- ago
#4
QUOTE:
I'm very sorry for the basic question.

No problem, just a rule of thumb is to start a new topic for unrelated question (those "also") rather than group them.
1

Reply

Bookmark

Sort