Metatrader CODE HELP WANTED

 
HI,

I would like to insert in my expert advisor a DAILY LIMIT LOSS (different from a stoploss used by the trade committed).
Idea underlying permit to lose a few pips per day to EA, it stops during the day when it overpass this limit, then it starts again the next day.

How to codify the language MQL4 "LOSS DAILY LIMIT" in pips and is visible on setting EA? And Where put the code in the script?


THANKS
Reason: