thank you Amismart,
I took the opportunity to learn the paramtoggle function, but my question was about the way to recognize automatically, by AFL, if I'm in or out.
Going ahead with the previous example, I want that warning sentence would appear automatically in the title of the graph when I click on an inthemarket bar.
my best attempt has been:
inthemarket= Flip(Buy, Sell);
but buy signal provide a false signal when buyprice doesnt occur
tks again
cippo