Added getAverage metthod

This commit is contained in:
7u83 2017-10-22 12:41:42 +02:00
parent b18bcb8249
commit 804f6ab2bc

View File

@ -61,4 +61,9 @@ public class OHLCDataItem {
return ret; return ret;
} }
public float getAverage(){
return (open+high+low+close)/4;
}
} }