@donnec said in How do I put images on the chart?:
Dear Admin
I want to put a picture on the chart and button to action ea
Thank you
What do you mean by "picture" a jpeg?
Or do you mean something that can "start" and "stop" your EA without you having to reset it?
If it's the second option, you will use "Condition" and "ON" "OFF"
The way you do it:
"Condition" - The Left Parameter will be:
"Object on Chart"
Name = "Stop"
Property = "Color" (Color is easier in my opinion)
Your Right parameter will be:
"Value" and Change Numeric to Color. For example choose Red to Stop.
SIDE NOTE: The color can be the same for both start and stop, as long as your Name is different, it won't matter but make sure whatever color you use, that is what color you insert. Personally, I would leave the color the same.
Underneath your Condition Block, place "On" or "Off" block.
Then you put what block to turn "off" and "on".
This will cause the EA to pick out when you type "start" on the Chart, and it will turn on your block tree or "Stop" your block tree. All without having to terminate your EA.
Good Luck