Hi Dirk, Vadim and others,
I am trying to compile a very simple startegy. In short:
I look at weekly candles.
When a new Candle opens, It first looks at last weeks candle. It calculates the hight of the candle and take 30% of this height in pips.
This pip amount will be our pending order from the open of this week.
So lets say:
Last week Candle Low: 1.3000
Last week Candle High: 1.3100
So the candle hight = 100 pips. 30 % is 30 pips.
When This weeks candle opens at 1.3150 I want to place a STOP BUY at 1.3150 + 30 pips, so 1.3180
and a STOP SELL at 1.3150-30 pips = 1.3120
The stop loss is calculated also based on the height of last weeks candle, only this time we take 10%.
So for the STOP BUY, the Stoploss will be set 10 pips below the open = 1.3140
for the STOP SELL, the stoploss will be 10 pips above the open = 1.3160
I want the position to close at the open of NEXT weeks candle and the cycle starts over.
I have made this so far, but it does NOT work at all.....
Can you see what I did wrong?
Ihave posted it in the forum. Vadim made some changes, but it does not do at all hat I want
![Smile :)](./images/smilies/icon_e_smile.gif)
. I want the pending order to be based on the OPEN of THIS weeks candle (last weeks candle is just to calculate the candle height, take 30% and ad that or substract that of this weeks open, for the pending orders). How the strategy goes now, it puts the pending orders at the high and low of last weeks candle!!
bitte hilfe
![Smile :-)](./images/smilies/icon_e_smile.gif)