PureBytes Links
Trading Reference Links
|
Stephane,
What do you mean, "you must convert it to one bar peak"? What part
of the buycondition formula below is there to convert it to a one
bar peak and what part is just the buycondition formula?
> /****Definition of your Buy signal****/
> Buy= Cross(H,HHV(Ref(H,-1),5)) AND Ref(MFI(14)>50,-1) ;/* you must
> convert it to one bar peak
> the exit will be never possible in the entrybar ( for this purpose
> there is an other dll called scRemBuyTrailF) , but next bar after
> buy signal*/
For a sellcondition I'd like to use the following:
Sell if: (1.) at least one day beyond entrybar; (2.) close is less
than the original entryprice; and (3.) RSI(14)<70.
Would my sellcondition be incorporated into the stopprice, as below?
Or, can I just disable stopprice? Can I disable stoploss and
trailstop, and, if so, how?
> StopPrice= L; /* this is the price option for STOPLOSS AND
> TRAILINGSTOP you can choose Close or Low,
> the exit price will be the low or open ( if gap) if you choose Low
> as stopprice
> OR the exit price will be close if you choose close as stopprice*/
Also, I am confused regarding the purpose of the following lines:
> Buy=Buy;
> Sell=Sell;
> BuyPrice=Entryprice;/*array*/
> SellPrice=SellPr;/*array sellpr is given by the dll: next open if
> you choose exit on bar, close if you choose close as stopprice,
> stop or open ( if gap) in others cases*/
Stephane, I hope I'm not overwhelming you with my questions...just
trying to understand. Thanks again!
Harold Harper
harold@xxxx
|