Download MetaTrader 5

plot indicator/tool only if click on price panel

To add comments, please log in or register
Marreta
90
Marreta 2014.11.26 17:30 
Hi everyone, first post here and new to MQL5 language, I have and indicator/tool that I use on NinjaTrader that, using a hot key (alt) + clicking on the chart on 3 points it calculates the fibonacci projections with prices on it, so it's easy for me to place entry loss and target orders fast as I scalp. Ok someone may ask why not to simply use the fibonacci toll that comes with metaquotes, and the reason is that with my formula I can  offset ticks(pips) for the ancoring  points on the chart as my entries and stops have those offsets too.

When I press alt+left click below the candle it anchors at the low of the candle - offset, on the second click it anchors to the high of the candle + offset and then projects the fib levels,..... and on the opposite if I click above the Cnadle it achors at the High + offset of the candle and on the second click at the low - offset and then projects the fib levels.

My question is if it's possible to program that on MQL5. 

attached is the pic of it on  NT with some levels prices on the right and the points on the left

Thanks 

Files:
1.jpg 87 kb
Alain Verleyen
Moderator
31085
Alain Verleyen 2014.11.26 19:51  
Marreta:
Hi everyone, first post here and new to MQL5 language, I have and indicator/tool that I use on NinjaTrader that, using a hot key (alt) + clicking on the chart on 3 points it calculates the fibonacci projections with prices on it, so it's easy for me to place entry loss and target orders fast as I scalp. Ok someone may ask why not to simply use the fibonacci toll that comes with metaquotes, and the reason is that with my formula I can  offset ticks(pips) for the ancoring  points on the chart as my entries and stops have those offsets too.

When I press alt+left click below the candle it anchors at the low of the candle - offset, on the second click it anchors to the high of the candle + offset and then projects the fib levels,..... and on the opposite if I click above the Cnadle it achors at the High + offset of the candle and on the second click at the low - offset and then projects the fib levels.

My question is if it's possible to program that on MQL5. 

attached is the pic of it on  NT with some levels prices on the right and the points on the left

Thanks 

It's possible, if the programmer understand what you mean
Marreta
90
Marreta 2014.11.26 22:44  

Very similar to one indicator available on NT support forum called : " dDrawABC "  , here is the link http://www.ninjatrader.com/support/forum/local_links.php?catid=4&sort=N&pp=15&page=3

In the pic I attached on the first post I made some changes to it , but you get the Idea of the indicator.  

To add comments, please log in or register