i have problems generating my strategie. I want to step out of the market on the first Open-Profit-Day-Bar once i have entered the market. Therefore i need to Point to the Bar which i have entered the market. For example if i step into the market at current bar and the next Open-Profit(!)-Day is 2 Bars later, i can't write Open[0]>Open[1]...because Open[1] is the Open-Value from the day before of the current bar..so i need to point to the bar before the bar before... How can i realise this?...Next point is, that i can see at the graph that my stoploss is not recognized. Sometimes he steps out of the market one day after i steped in, even if my stoploss has not been reached. Sometimes he steps into the market and steps out 2bars later, but the Open-Profit-Day was exactly the next bar..not the next bar after the next bar. And sometimes...ninjatrader does it well..like i want him to do it... Step into the Market..and STep out of the market on the first Open-Profit-Day... i wrote this example based on a long trade.. I am thankful for every support
For Example if the SMA of today Open is higher than the SMA of the day before enter long and exit on the next Open-Profit-Day-Value
Mike
Comment