당사 팬 페이지에 가입하십시오
- 조회수:
- 6143
- 평가:
- 게시됨:
- 2018.08.24 10:51
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Ulcer index was originally meant to be used for something different than finding out the trend (the original calculation "... is a measure of the depth and duration of draw-downs in prices from earlier highs ...") but if we imagine that the calculation can be done in the opposite direction too (perfect in Forex where a symbol can not have a 0 value - if it exists it must have some value) then we can get something like this:
Also, as an experiment (and a deviation to the original calculation) option to calculate "inverted" Ulcer index added. The direction of the calculation is changed in the inverted mode, and even though the direction is inverted, there is no repainting and it can be used as any other "regular" indicator. The results in the inverted mode are interesting (at the least) and it is recommended that you do a bit of experimenting to find out which version suits your trading style better.