i want to define a trailing stop if the market reach a risk reward of 1... so i define my rr1 and i have a problem when i want to define my limit, here my code
// initiate a trailing stop on the top of the shooting after RR1 reached
rr1 = Close[0]-((High[0]+ 3*TickSize)-Close[0])*1;
rr1hit = (Low [bar] <= rr1);
if (Position.MarketPosition == MarketPosition.Short)
{
if (rr1hit)
{
SetStopLoss(CalculationMode.Price, High[0]);
}
my problem on my code is bold... rr1hit = if the market hit the rr1 but i have a problem with the Low... i would to say Low of the market, but how can i write it...
Comment