- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
[snip] > Basically, what I am trying to program the Expert to do is: > ==BUY== > IF THE CURRENT VALUE OF THE DBLSTOCH IS LESS THAN 40 AND GREATER THAN THE > PREVIOUS DAYS VALUE THEN PAINT ONLY THIS BAR AS A BUY.(i.e.. the dblstoch > is below 40 and has just turned up.) > ==SELL== > IF THE CURRENT VALUE OF THE DBLSTOCH IS MORE THAN 70 AND LESS THAN THE > PREVIOUS DAYS VALUE THEN PAINT ONLY THIS BAR AS A SELL.(i.e.. the dblstoch > is above 70 and has just turned down.) Expert Help To: metastock@xxxxxxxxxxxxx Subject: Re: FW: Expert Help From: iamken <iamken@xxxxxxxxxxxxxxx> Date: Sat, 27 Jan 2001 19:14:02 -0500 References: <003401c084bc$256a3790$9c3ad9d1@xxxxxxxxxxxxxx> Reply-To: metastock@xxxxxxxxxxxxx Sender: owner-metastock@xxxxxxxxxxxxx MP: |
|
Smoothed Stochastic Expert Buy Highlight: P1:=Mov(((C-LLV(L,10))/(HHV(H,10)-LLV(L,10)))*100,3,E); dblSto10:=Mov(((P1-LLV(P1,10))/(HHV(P1,10)-LLV(P1,10)))*100,3,E); buy:=dblSto10<40 AND dblSto10>Ref(dblSto10,-1) AND Ref(dblSto10,-1)<Ref(dblSto10,-2); buy Sell Highlight: P1:=Mov(((C-LLV(L,10))/(HHV(H,10)-LLV(L,10)))*100,3,E); dblSto10:=Mov(((P1-LLV(P1,10))/(HHV(P1,10)-LLV(P1,10)))*100,3,E); sell:=dblSto10>70 AND dblSto10<Ref(dblSto10,-1) AND Ref(dblSto10,-1)>Ref(dblSto10,-2); sell |
Mark Peterman wr | |
| |
Source / From: |