Condition1 = ( PositionProfit(1) >= 20 ):

If PositionProfit(1) < 20 then
begin
buy --- ;
sell ---;
end: