Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return (Math.Max(Math.Min(pos_small, zerodis),Math.Min(pos_small, close)) * neg_medium_pow +
- Math.Max(Math.Min(zero, zerodis), Math.Min(zero, close)) * zero_pow +
- Math.Max(Math.Max(Math.Min(neg_small, close), Math.Min(neg_big, medium)),Math.Min(zero, far)) * pos_medium_pow +
- Math.Max(Math.Min(neg_small, medium), Math.Min(neg_small, far)) * pos_high_pow);
- return(Math.Max(Math.Max(Math.Min(neg_small, medium), Math.Min(neg_small, far)) * pos_high_pow, Math.Max(Math.Max(Math.Min(neg_small, close), Math.Min(neg_big, medium)),Math.Min(zero, far)) * pos_medium_pow)
- +(Math.Min(Math.Max(Math.Min(pos_small, zerodis),Math.Min(pos_small, close)) * neg_medium_pow ,
- Math.Max(Math.Min(zero, zerodis), Math.Min(zero, close)) * zero_pow)) /2);
- return (Math.Max(Math.Min(pos_small, zerodis),Math.Min(pos_small, close)) * neg_medium_pow +
- Math.Max(Math.Min(zero, zerodis), Math.Min(zero, close)) * zero_pow +
- Math.Max(Math.Max(Math.Min(neg_small, close), Math.Min(neg_big, medium)),Math.Min(neg_small, close)) * pos_medium_pow +
- Math.Max(Math.Min(neg_small, medium), Math.Min(neg_small, far)) * pos_high_pow)
- /(Math.Min(pos_small, zerodis)+Math.Min(pos_small, close)+Math.Min(zero, zerodis)+
- Math.Min(zero, close)+Math.Min(neg_small, close)+ Math.Min(neg_big, medium)+Math.Min(neg_small, close)+
- Math.Min(neg_big, medium)+Math.Min(neg_small, medium)+ Math.Min(neg_small, far));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement