Will any one code this for me in AFL?  Thanks.


Monthly Dollar Cost Average Buy Method 

if (this is the start of a new month) then 
    set buy flag = true 

if (buy flag == true) and 
   ((close today is less than 1% 
        below the close five days ago) or 
   (this is the last trading day of the month)) then
        buy (monthly allocation budget)/(share price) shares 
          of AAPL on the close 
    set buy flag = false 






Reply via email to