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.
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.
Rename
Hello,
What is the "current" bar exactly and why are you trying to exclude it?
Please do a forum search before asking this basic question. Not only it's offtopic, it has already been raised many times before. Thanks.
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.
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?
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?
Offsetind!!!! That's it! Thank you
I'm very sorry for the basic question.
I'm very sorry for the basic question.
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.
Your Response
Post
Edit Post
Login is required