| Index | Recent Threads | Who's Online | User List | Search |
|
|
![]() |
Portfolio123 » List all forums » Forum: Feature Suggestions » Thread: Allow comments or remarks |
|
Total posts in this thread: 5 |
[Request a Feature] [Add To My Favorites] [Watch this Thread] |
| Author |
|
|
Capnpaul
Advanced Member
|
Marco For the editing of criteria inputs (rules) could you add the feature that would allow the user to create remarks or comments. Say by using French Braces “{ }”. This would be a great addition and allow for the remarking out of a rule while backtesting. ![]() Thank You |
||
|
|
marco
|
OK, if I understand this, you could write things like: Close(0) > 4 {& AvgVol(20) > 80000 eliminate vol criteria} And then re-activate the volume criteria like this: Close(0) > 4 & AvgVol(20) > 80000 {do not eliminate vol criteria} ---------------------------------------- Portfolio123 Staff |
||
|
|
Capnpaul
Advanced Member
|
Exactly! |
||
|
|
marco
|
Here's one way to do this without the comments feature: Enable volume restriction Close(0) > 4 And (AvgVol(20) > 80000 And 1) Disable volume restriction Close(0) > 4 And (AvgVol(20) > 80000 And 0) ---------------------------------------- Portfolio123 Staff |
||
|
|
marco
|
The logic is wrong, it should have been: Enable volume restriction Price > 4 And (AvgVol(20) > 80000 Or 0) The "Or 0" has no effect and the resulting formula is equivalent to "Price > 4 And AvgVol(20) " Disable volume restriction Price > 4 And (AvgVol(20) > 80000 Or 1) The "Or 1" makes the formula equivalent to "Price>4 And 1" which is equivalent to "Price>4" It's meant as a way to enable or disable a portion of the formula by simply changing a 1 to a 0 and vice-versa, but I manage to mess it up and confuse everybody. Looks like Capnpaul suggestion is the winner ![]() ---------------------------------------- Portfolio123 Staff ---------------------------------------- [Edit 1 times, last edit by portfolio123 at Nov 12, 2005 6:38:39 PM] |
||
|
| [Show Thread Printable Version] |