[Req] Alan's Box
Forums › ProRealTime English forum › ProBuilder support › [Req] Alan's Box
- This topic has 12 replies, 4 voices, and was last updated 5 years ago by swapping.
-
-
08/01/2018 at 12:04 PM #77294Can anyone help me with creating an Alan’s square indicator for day/week/month/year?Description: http://ensign.editme.com/alansquare08/07/2018 at 9:13 AM #77690
Hi, I made a transcript of the description of the link you have provided to code this indicator:
You can download it directly from the library. Added the different timeframes capabilities for the highest high and lowest low calculation.
08/14/2018 at 4:03 PM #7815708/14/2018 at 5:12 PM #78160Dear Nicolas! I see beautiful horizontal levels, but there is an error in the calculation of the angulars. So, for example, the annual box, the length of the main diagonal is 52 bars. But the indicator builds this diagonal with a length of 32 bars.
08/14/2018 at 5:20 PM #7816308/14/2018 at 5:43 PM #7817308/16/2018 at 2:09 PM #7837208/18/2018 at 4:19 PM #7855108/20/2018 at 10:06 AM #78634Yes, but it doesn’t mean that x bars is a constant for each month in this example (monthly levels?).
As for now, I have a better comprehension on how the diagonals are plotted: they should start at first day of the period and end at the last day of the same period? For example: August 1st -> August 31st , is it correct?
08/31/2018 at 4:18 AM #7944102/01/2019 at 10:39 AM #90237Hello Nicolas, je reviens sur cet indicateur car je pense avoir trouvé un petit “couic” sur le dhigh(1) et dlow(1) indiqué à 1 alors que le bon fonctionnement est à 0 “zéro”! En dessous les lignes 14 et 15 d’origine
Old line 14 and 15123if myTimeframe = 0 thenhh = dhigh(1)ll = dlow(1)et la correction des lignes 14 et 15 ci après
line 14 and 15 corrected123if myTimeframe = 0 thenhh = dhigh(0)ll = dlow(0)si jamais il y a un truc qui m’échappe ou que j’ai mal interprété, je te lirais avec plaisir 😉
cordialement, swapping
02/01/2019 at 11:31 AM #9023802/01/2019 at 11:39 AM #90239Oups !
Hello Nicolas, I come back on this indicator because I think I found a little “squeak” on the dhigh (1) and dlow (1) indicated 1 while the good operation is 0 “zero”! corrected is line 14 dhigh(0) and line 15 is dlow(0)
-
AuthorPosts
Find exclusive trading pro-tools on