[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: formulas



PureBytes Links

Trading Reference Links

         
This code will give you the basics of how to produce a file that contains
daily signals for Cooper's 5-day strategy for Stocks with Volume > 50000 and
ADX > 35.  It's for TS and I don't have a clue what SC requires.  You should
run it in ChartScanner.  
        
Input:	ADX_Len(14);
Vars: DPlus(0), DMinus(0), AADX(0), STOk(0);
        
DPlus = DMIPlus(ADX_Len); DMinus = DMIMinus(ADX_Len); AADX = ADX(ADX_Len);
STOk=FastK(8);
         
If Volume > 50000 and AADX >= 35 and High >= 25 and DPlus > DMinus and STOk
< 21 then Begin
    Plot1(Low,"Buy");      
    FileAppend("C:\SIGNALS\5Day_sig", NumToStr(Date,0) + "  " +
LeftStr(GetSymbolName + "           ",5) + "Long " + "  ADX= " +
NumToStr(AADX,2) + "  Close= " + NumToStr(Close,2) +"  Entry=     " +
NumToStr(High + .0625,2)  +"  Stop= "  +  NumToStr(Low - .0625,2) + Newline) ; 
End;
          
If  Volume > 50000 and AADX >= 35 and High >= 25 and DPlus < DMinus and STOk
> 79 then Begin
    Plot2(High,"Sell");      
    FileAppend("C:\SIGNALS\5Day_sig", NumToStr(Date,0) + "  " +
LeftStr(GetSymbolName + "           ",5) + "Short" + "  ADX= " +
NumToStr(AADX,2) + "  Close= " + NumToStr(Close,2) +" Entry= "     +
NumToStr(Low - .0625,2) + "  Stop= " +  NumToStr(High + .0625,2) + Newline) ; 
End;
______________________________________
At 02:28 AM 8/5/98 -0500, you wrote:
>I just purchased Supercharts and am in the process of converting the
>trading strategies of Laurence A. Cooper (Street Smarts) and Jeff Cooper
>(Hit and Run Trading) into chart indicators.  Is there someone who has
>already made the conversions, or who may be  interested in helping me to
>perform this task?  I have a lot to learn about using easy language, and
>could use all the tips I can get.
>
> I know that I can order the formulas from the respective authors ready
>made for use with Supercharts, but I have already made such a
>substantial expenditure in buying the books, and Supercharts, that I'm
>not prepared to spend another $400 or $500 at this point.  I also like
>the challenge that it presents to my brain.
>
>Glen
>
>
>