Обсуждение статьи "Изучаем класс CCanvas. Реализация прозрачности графических объектов" - страница 3

Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
Владимир, огромное спасибо!
Я просто упустил из виду преобразование ColorToARGB().
Владимир, огромное спасибо!
Я просто упустил из виду преобразование ColorToARGB().
By means of the class CCanvas?
P.S. Use CCanvas.CreateBitmap:
Creates a graphical resource bound to a chart object.
1. Creates a graphical resource in the main window of the current chart.
bool CreateBitmap(
const string name, // name
const datetime time, // time
const double price, // price
const int width, // width
const int height, // height
ENUM_COLOR_FORMAT clrfmt=COLOR_FORMAT_XRGB_NOALPHA // format
);
Thus you will be able to bind one corner of a Сanvas. But width and height, all the same, will be set in pixels.
Let's do a excercise more easy. I go to put a circle moves with the price; but, why does not it move in axis Y?
That is the code
Let's do a excercise more easy. I go to put a circle moves with the price; but, why does not it move in axis Y?
That is the code
Let's do a excercise more easy. I go to put a circle moves with the price; but, why does not it move in axis Y?
That is the code
"Time[]", "Close[]" - mistake. There are no such variables in MQL5!
MQL4 ;)
Я не приветствую MQL4. Все примеры только на MQL5.
И результат работы скрипта:
Владимир, вопрос к Вам как к спецу.
Есть панель в виде холста. А потом на графике рисуются трендовые линии. Как их спрятать за холст?
Скриншоты торговой платформы MetaTrader
RTS Splice, H1, 2016.10.16
АО ''Открытие Брокер'', MetaTrader 5, Demo