Click here to Skip to main content
15,908,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
PROBLEM:
display different notification for each scenario:
1. price is hit
2. contract notification
3. insufficient margin notification


thanks
Posted

1 solution

set a flag variable to check if a scenario has been met, and show the notifications as per the flag variables, and after showing the notifications,reset the flags, and move on.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900