Function that returns if the last trade was a win or lose trade

 
Hi guys!

I’m looking for a function that returns if the last trade was a win or lose trade. In other words, if the price hit the take profit or the stop loss of the last trade.

If someone decide help me, so, PLEASE, give-me a function that you have sure that work correctly, because I’m not programmer and I have too much difficult with programming… PLEASE…

Thanks a lot!

 

If you are not a programmer, then even if someone does give you the code, you would not know how to apply it anyway.

So, I suggest you hire someone to code your various requirements (EA, Indicator, etc.) for you at the Freelance section.

 
J_Henry: I’m looking
Don't double post.