How to program my strategy in Rules?
Author: Igorl80
Creation Date: 8/6/2020 9:59 PM
profile picture

Igorl80

#1
Good night friends!

I'm Brazilian, so I'm sorry for the mistakes.

I am a beginner at Wealth - Lab and would like help.

I want to configure the following strategy:

Daily chart

Buy at least the last 2 bars;
Sell at the maximum of the last 2 bars;
Stop in time, that is, if 3 bars do not reach the target, exit the operation.
After leaving the operation, make a new purchase using the same criteria and so on.

Note: for every bar that does not reach the target, it must go up or down following the rule.

Thank you very much
profile picture

Igorl80

#2
Good night dear,

I would like help to create a strategy rule.
Being daily chart.
Rule: buy at the close of the candlestick with RSI2 <5.
Sell at the maximum of the second previous bar.
as the days go by, you adjust the sales order.
The loss output is in time, that is, if up to 7 bars do not catch the sale, exit the operation at the close of the bar.
profile picture

Eugene

#3
Olá Igor,

You can most likely accomplish #1 using Rules.

QUOTE:
Buy at least the last 2 bars;

What does "at least" mean in this context - buying for 2 bars unconditionally?

QUOTE:
Stop in time, that is, if 3 bars do not reach the target, exit the operation.

See Conditions tab > Position-Based, add "Active position is older than a number of bars" to your exit.

QUOTE:
Sell at the maximum of the last 2 bars;

Sounds like a "Sell at Limit Channel High" but also can be Conditions tab > Price (Volume) Action > "Price > Highest price in lookback period".
profile picture

Eugene

#4
QUOTE:
Rule: buy at the close of the candlestick with RSI2 <5.

Conditions > RSI > RSI is oversold...
profile picture

aquino

#5
QUOTE:
Buy at least the last 2 bars;
Sell at the maximum of the last 2 bars;
Stop in time, that is, if 3 bars do not reach the target, exit the operation.
After leaving the operation, make a new purchase using the same criteria and so on


Buy at limit Channel Low
- Channel Price: Low
- Channel Period: 2

Sell at limit Channel High
- Channel Price: High
- Channel Period: 2

Sell at Close
- Current open Position is older than a number of bars -> 3


QUOTE:
Rule: buy at the close of the candlestick with RSI2 <5.
Sell at the maximum of the second previous bar.
as the days go by, you adjust the sales order.
The loss output is in time, that is, if up to 7 bars do not catch the sale, exit the operation at the close of the bar.


Buy at Close
- RSI is oversold
-- Period: 2
-- Oversold Level: 5,00

Sell at limit Channel High
- Channel Price: High
- Channel Period: 2

Sell at Close
- Current open Position is older than a number of bars -> 7
profile picture

vini_83

#6
Olá Igor, também sou brasileiro e queria saber qual foi esse setup que vc pediu primeiro? O Segundo me pareceu o IFR2, estou correto???

Estou querendo desenhar o setup PFR utilizado pelo Stormer e tambem o Joe Dinapolli, você conhece esses setups?
profile picture

Eugene

#7
Marcus, could you point us to where this and other forum topics are referred? How did you find them?
profile picture

aquino

#8
QUOTE:
Olá Igor, também sou brasileiro e queria saber qual foi esse setup que vc pediu primeiro?


Máximas e Mínimas. Compra na mínima dos últimos 2 candles e venda na máxima dos últimos 2 candles. Saída em até 7 candles se não atingir o alvo antes.



QUOTE:
O Segundo me pareceu o IFR2, estou correto???


Isso mesmo.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).