I have a little idea of computer programing and this makes a lot of sense in that it makes trading a process that is governed by rules. If a trader perfects this and following it in his trading, then he will be able to give convincing reason why he entered each and every trade and how he is able to manage the trades. Most people have the habit of entering trades they cannot ex[lain why they enter them and this is where the biggest losses comes from. Developing the IF statement you introduce here will make trading very smooth and sweet.
When you start learning trading, you will see many fake signals that will make your eyes pop, and it will feel unbelievable—almost as if a huge amount of money is coming from trading very easily. At first, you are actually under a wrong assumption, but at that moment you won’t be able to realize it. Later, when you fall into greed and spend your real money while learning trading, you will notice that the people whose profits inspired you to start trading in the first place were actually fake. Haha. This simply means that you should avoid trading based on emotions and instead learn proper guidelines and real skills. If you do that, you too will be able to become a trader one day.