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

Trailing Stops



PureBytes Links

Trading Reference Links

Could someone help be with this coding problem?

I am attempting to develop an exit strategy based on trailing stops.

I want to exitlong if close <= 8%(Close,50)

Also 
I want to exitlong Close <=.03 * Average(Close,50) *.50
I want to exitlong if close of today ,which is 50% over its' 50DMA closes >=l
to 3% of that price
Also sell if close >=5% of 50DMA which is 75% higher than close
Thank you,   JAC1390