거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Barebone Gradient Candles - MetaTrader 5용 지표

조회수:
6086
평가:
(19)
게시됨:
2021.06.24 22:39
업데이트됨:
2021.06.25 18:22
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Colored Candlestick exemplifying a gradient. It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES being limited to 64 in length, [0; 63]) or which order the functions should be called.


I also had a hard time finding a working algorithm for moving a X color towards a Y color (I believe this is called Gradient?); this code contains a math function which returns a gradient from X towards Y and I would love to know if someone has a better way of doing that.


Feel free to suggest patches in the comments, this code is a work-in-progress and free for all - you can also remove the licensing properties if you wish, but should maintain a // AUTHORS: list commented.


Changelog

v1.01 - Fix the order, was inverted (was missing a 1.0 - percentage calc)

Working example

    closing partially script  and Stop loss to Break Even point closing partially script and Stop loss to Break Even point

    closing partially script and Stop loss to Break Even point

    Risk Reward Tool Risk Reward Tool

    Risk Reward Tool calculates Risk reward like 1:2 1:3 1:4 and 1:5

    rsi & divergence rsi & divergence

    macd divergence and rsi filter

    Buy Sell on your Price Buy Sell on your Price

    Buy Sell on your price, Choose Market order, Pending Limit order or Pending Stop Order