Arrow Options
4 replies
Jojo
7 years ago #115389
Hi Mark, is it possible to have various symbols options for arrows? Currently all we have is a block or square. A real arrow, a check mark or thumb etc would be very nice. It would also be very good to have a colour pallete to select colours.
Thanks
Jojo
tomas262
7 years ago #138476
Hello,
you could basically use a custom piece of code to draw any other objects like rectangles, similar to this https://strategyquant.com/forum/topic/4519-draw-vertical-line-at-specified-bar/
TJ#
7 years ago #138968
you can change the default arrow to something else by changing its value (wingdings symbols) as shown in the menu window (see screenshot) or change its default value in the MQ4 file.
seanmcgu
7 years ago #139757
you can change the default arrow to something else by changing its value (wingdings symbols) as shown in the menu window (see screenshot) or change its default value in the MQ4 file.
That’s ok but it would be nice to have it as a pull-down selection in the THEN Draw Up Arrow and Draw Down Arrow dialog boxes. That way, it becomes the default instead of having to edit the code manually. (That’s already hard-coded in there or we wouldn’t even be getting the 167 square symbol. Why not just make it user selectable?)
kapitalgo
7 years ago #139813
For the lazy ones: You can enum wingdings codes at the beginning and make them as input, for example:
enum _ChartSymbol { ARROWUP = 233, ARROWDN = 234 }; input _ChartSymbol Signal1Character = 233; // Shows you an input box with ARROWUP and ARROWDN
Not tested, but must be working.
Best regards,
Patrick
Viewing 4 replies - 1 through 4 (of 4 total)