Re: Stocks To Keep A Close Eye On - Chapter II
Hello Anant
I was looking at your AFL.
Splendid job.
However, I noticed a line of code as follows:
SLHit = IIf(Bought AND NOT Buy AND C < SL, True, False);
Gathering that, SLHit is abbreviation for "Stop Loss Hit" the line should have been as follows:
SLHit = IIf(Bought AND NOT Buy AND L < SL, True, False);
Stop Loss Hit becomes true as soon as the price crosses the SL, one should not wait for the candle to complete because Stop Loss is supposed to limit the loss on the trade. If we allow the candle to get completed then there is a potential of losing more than limited with the Stop Loss.
Suggestion number 1:
In the exploration I was looking at the columns and found that other three columns would make it more informative. They are, Reward(%), Risk(%) and Reward to Risk ratio, the lines of code may be as follows:
//Calculation
Rewardpc = IIf(Buy OR Bought, ((NextTgt-C) * 100) / C, Null);
Riskpc = IIf(Buy OR Bought, ((SL-C)*100) / C, Null);
RewardRiskRatio = IIf(Buy OR Bought, Rewardpc/abs(Riskpc), Null);
//Exploration Table additional columns
AddColumn(IIf(Buy OR Bought, Rewardpc, Null),"Reward%", 5.2) ;
AddColumn(IIf(Buy OR Bought, -Riskpc, Null), "Risk%", 5.2);
AddColumn(IIf(Buy OR Bought, RewardRiskRatio, Null), "Reward/Risk", 5.2);
Suggestion number 2:
There are lots of false signals being generated, as such I believe you must add some more qualifying criteria before the trade is executed.
These are my thoughts, and welcome the opinion of the fellow members and particularly seniors.
Regards
Suresh
Hello Anant
I was looking at your AFL.
Splendid job.
However, I noticed a line of code as follows:
SLHit = IIf(Bought AND NOT Buy AND C < SL, True, False);
Gathering that, SLHit is abbreviation for "Stop Loss Hit" the line should have been as follows:
SLHit = IIf(Bought AND NOT Buy AND L < SL, True, False);
Stop Loss Hit becomes true as soon as the price crosses the SL, one should not wait for the candle to complete because Stop Loss is supposed to limit the loss on the trade. If we allow the candle to get completed then there is a potential of losing more than limited with the Stop Loss.
Suggestion number 1:
In the exploration I was looking at the columns and found that other three columns would make it more informative. They are, Reward(%), Risk(%) and Reward to Risk ratio, the lines of code may be as follows:
//Calculation
Rewardpc = IIf(Buy OR Bought, ((NextTgt-C) * 100) / C, Null);
Riskpc = IIf(Buy OR Bought, ((SL-C)*100) / C, Null);
RewardRiskRatio = IIf(Buy OR Bought, Rewardpc/abs(Riskpc), Null);
//Exploration Table additional columns
AddColumn(IIf(Buy OR Bought, Rewardpc, Null),"Reward%", 5.2) ;
AddColumn(IIf(Buy OR Bought, -Riskpc, Null), "Risk%", 5.2);
AddColumn(IIf(Buy OR Bought, RewardRiskRatio, Null), "Reward/Risk", 5.2);
Suggestion number 2:
There are lots of false signals being generated, as such I believe you must add some more qualifying criteria before the trade is executed.
These are my thoughts, and welcome the opinion of the fellow members and particularly seniors.
Regards
Suresh