# Translate Tradestation to Java - Fast project

Hello,

This is a very small and very fast project. I'm looking for someone to translate a piece of Easylanguage code to Java.

You should provide me with a java method SVAPO that takes double[] as input and returns upper band and lower band.

I can also provide moving average code in java if you need.

public double[] SVAPO(double[] open, double[] high, double[] low, double[] close, double[] volume){

//Translate easylanguage code

//...

result[0] = upperBand;

result[1] = loweBand;

return result;

}

Here is the Easylanguage code:

Algorithm: Volume and Price Oscillator (SVAPO)

SVAPO(Period=8, Cutoff=1, StDevH=1.5, StDevL=1.3, StDevPeriod=100)

//Vervoort’s Heiken-Ashi is smoothed short-term price trend

AP = AVGPRICE; // (O+H+L+C)/4

haO =0.5*(AP[1]+haO[1]);

haCl =0.25*(AP+haO+MAXLIST(AP,MAXLIST(High,haO)) + MINLIST(AP,Minlist(Low,haO)));

haC = TEMA(haCl,0.625*Period); //triple exponential moving ave of Heiken-Ashi close

//volume delta at each price (handle volume extremes)

VolumeValue = IFF(BarType<2, Ticks, Volume);

VAvg = AVERAGE(VolumeValue[1],5*Period);

VMax = 2*VAvg;

Vc = IFF(VolumeValuehaC[1] * (1 +(0.001*Cutoff)) and COUNTIF(VTrend >= VTrend[1],2)=2;

Dn = haC<haC[1] * (1 -(0.001*Cutoff)) and COUNTIF(VTrend <= VTrend[1],2)=2;

//SVAPO is triple exponential moving average of the summation of volume

//each day’s volume contribution depends on trend for that day

//UP days add the volume, DOWN days you subtract volume for that day from the sum

DELTA_SUM= SUMMATION(IFF(Up,Vc,IFF(Dn,-Vc,0)),Period)/(VAvg+1)

SVAPO = TEMA(DELTA_SUM,Period);

//dynamic bands using standard deviation of SVAPO over time

UpperBand = StDevH*STDDEV(SVAPO, StDevPeriod);

LowerBand = -StDevL*STDDEV(SVAPO, StDevPeriod);

Thanks

( 18 reviews ) zurich, Switzerland

Project ID: #4455911

## 13 freelancers are bidding on average \$52 for this job

eperfections

I can code it in Java. There are many methods used which I need to code as well.

\$103 USD in 1 day
(281 Reviews)
7.0
wbslivera

\$34 USD in 0 days
(15 Reviews)
3.8
shenchilang

Experienced java developer.

\$35 USD in 1 day
(11 Reviews)
3.6
DucNA

\$35 USD in 1 day
(6 Reviews)
3.0
proauthor

\$34 USD in 0 days
(2 Reviews)
1.8
dharamdaring

Hi, I would love to work on this project. Thanks

\$165 USD in 3 days
(1 Review)
1.2
namanfriend

I am a java developer with excellent analytical skills

\$35 USD in 1 day
(0 Reviews)
0.0
atitsolutions

Hello,, I like to take your project

\$35 USD in 3 days
(0 Reviews)
0.0
kpsravan

I can do this ASAP and deliver it to you. Solving this does not require much of experience, however I have 6years of experience in java technologies.

\$35 USD in 1 day
(0 Reviews)
0.0
cleanCode

\$35 USD in 1 day
(0 Reviews)
0.0
gopalpatel88

sir i can do this project for you for a low price.

\$35 USD in 3 days
(0 Reviews)
0.0
amitu0108

I can do this project. Let me know if interested and we can discuss. Thanks

\$35 USD in 2 days
(0 Reviews)
0.0
Aldahrani

Happy to help. I am a software engineer with professional experience in Java. Thanks.

\$54 USD in 3 days
(0 Reviews)
0.0