keyboard trading

Created at 21 Mar 2016, 12:22
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
HY

Hyperion

Joined 12.09.2013

keyboard trading
21 Mar 2016, 12:22


I'd like to be able to open quick trades with keyboard.

Simple way would be to make it work similar to quick trade buttons - you would have one button assigned for sell (e.g. "s"), one for buy (e.g. "b"). Size of the position would be the same as selected in the box between quick trade buttons. For multi-chart workspace it would be good to be able to choose which chart is active for quick-trade-keyboard-trading. And closing positions could be conducted by two-key shortcut, like for exapmple Ctrl+1, Ctrl+2, depending on which trade on the list of open positions we want to close.

OR

You could have additional configurable panel, to select lot sizes and assign custom shortcuts, something like in currenex platform but with keys assigned. http://ww.zaner.com/3.0/platforms/currenex/Currenex3big.gif

OR

You cold sell your own cKeyboard, similar to this one: http://www.forexbrokerz.com/news/saxo-bank-forex-trading-keypad ;)


@Hyperion
Replies

kricka
23 Mar 2016, 04:49

Shortcuts needed!

Filip,

this issue with shortcuts and keyboard trading is really important for the Spotware team to solve. Every serious platform has it as a standard. I have had a few post posted on this but so far nothing has happened in that regard. Here is one post: /forum/suggestions/805. For the moderator to suggest to vote on such a basic need for the trader is not the way to go. It should be a standard feature in the platform.


@kricka

Hyperion
23 Mar 2016, 23:06

kricka,

thanks for the reply. If we want something we have to push, so they know it's needed.

there are too many things under vote for one thing to really stand out, so if anybody wants the keyboard trading features in their cTrader, post here (in addition to voting).

We make this thread big enough, someone will notice :)

 


@Hyperion

Spotware
24 Mar 2016, 14:25

Dear Trader,

Thank you for your suggestion. We will consider it. Additionally, you can post your ideas/suggestions to http://vote.spotware.com/


@Spotware

Hyperion
25 Mar 2016, 18:21

Spotware,

thank you for replying. I just posted this idea.

For anybody interested, here's the link: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/13133325-keyboard-trading


@Hyperion

Tj11
02 Jul 2020, 13:46

Dear Panagiotis,

Are there any plan to add Sell and Buy hotkeys ?

 

Thank you, Tj


@Tj11

PanagiotisCharalampous
02 Jul 2020, 14:21

Hi Tj,

Adding more hotkeys is in our backlog.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

Tj11
02 Jul 2020, 15:11

RE:

PanagiotisCharalampous said:

Hi Tj,

Adding more hotkeys is in our backlog.

Best Regards,

Panagiotis 

Join us on Telegram

 

 

Didn't understand what backlog means. But hopefully they will ba added.

Cheers.


@Tj11

PanagiotisCharalampous
02 Jul 2020, 15:19

Hi Tj,

You can read what a product backlog is here :)

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

dwalkhul
24 Dec 2020, 21:01 ( Updated at: 01 Jan 2021, 23:03 )

RE: Hotkey Trade Operations can be done by Code

PanagiotisCharalampous said:

Hi Tj,

You can read what a product backlog is here :)

Best Regards,

Panagiotis 

Join us on Telegram

Re below clause 2.   On reassement I consider the product not fit for reference and have withdrawn information.

Objectives:

  • Implementing cTrader hotkey trade operations by means of cAlgo/C# code offers superior versatility and customization than any future cTrader inbuilt trade operation hotkey functionality -  which will, if ever implemented, almost certainly be hotkey combinations (a key + another key) as opposed to a trade operation activated by a 'single key'.
  • Key combinations defeats the entire purpose of easy of use, speed, and efficiency - the additional use of an additional key to effect the trade operation is an unnecessary distraction.
  • The use of a single key for a trade operation is fast, most efficient and excludes additional distractions.
  • The use of single key trade functionality by means of code works to perfection - with respect my coding experience - in MT4/MT5 and Sierra Chart without conflicting or interfering with other programs that may use any on the same single hotkey or combination of hotkeys.

In MQL5 Chart Key Events are fairly straightforward.

#include <Trade\Trade.mqh>
//--- object of class CTrade
CTrade trade;
#include <Trade\PositionInfo.mqh>
CPositionInfo  m_position;      
#include <Trade\SymbolInfo.mqh>  
CSymbolInfo    m_symbol; 
#include <Trade\OrderInfo.mqh>
COrderInfo     m_order;   
......
......
#define KEY_AR_UP 38 // NL Up Arrow// BUY AT ASK
#define KEY_UP 104 // Up Arrow // BUY AT ASK
......
......
// BUY at Ask (market) /////////////////////
if(lparam == KEY_UP || lparam == KEY_AR_UP)
{
  cl=0;
  trade.Buy(LotSizex, NULL, SymbolInfoDouble(Symbol(),SYMBOL_ASK), SymbolInfoDouble(Symbol(),
  SYMBOL_ASK) - StopLoss*_Point, 0, NULL); 
  PlaySound(SND);
}

So here is the question and request:

  1. Can you kindly point to a source of understand Chart Key Events in cAlgo.
  2. If not, how then, is Chart Key Events being implemented in the above referred bot ?

 


@dwalkhul

PanagiotisCharalampous
28 Dec 2020, 09:16

Hi dwalkhul,

  1. Can you kindly point to a source of understand Chart Key Events in cAlgo.

This is not available at the moment. It will be available in cTrader Desktop 4.0. 

  1. If not, how then, is Chart Key Events being implemented in the above referred bot ?

You need to ask the developer of the bot regarding this. Probably using Win32 API.

 Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

dwalkhul
28 Dec 2020, 18:12 ( Updated at: 29 Dec 2020, 02:19 )

RE:

PanagiotisCharalampous said:

Hi dwalkhul,

  1. Can you kindly point to a source of understand Chart Key Events in cAlgo.

This is not available at the moment. It will be available in cTrader Desktop 4.0. 

  1. If not, how then, is Chart Key Events being implemented in the above referred bot ?

You need to ask the developer of the bot regarding this. Probably using Win32 API.

 Best Regards,

Panagiotis 

Join us on Telegram

Thank you for prompt response

In the interest of clarity and certainty, re - 'This is not available at the moment. It will be available in cTrader Desktop 4.0.'

Does this specifically mean

  1. Hotkey trade operations will be available as a built in feature of the cTrader Desktop 4 - in other words, trade operation hotkey allocation will be available through the cTrader Desktop 4 Graphic User Interface  - or
  2. Key Events will be available in - cAlgo - so coders can customize hotkey trade operations by means of code

3. What is the expected date of cTrader Desktop 4.0 ?

4. This forum does not have an immediate SPAM report facility - see immediate next post for fake certificates spam ! Can it be removed ?

 


@dwalkhul

... Deleted by UFO ...

PanagiotisCharalampous
29 Dec 2020, 08:31

Hi dwalkhul,

This one

Key Events will be available in - cAlgo - so coders can customize hotkey trade operations by means of code

 cTrader Desktop 4.0 is expected to be released sometime in January.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

artcfd
22 Aug 2021, 11:07

RE: RE:Hello, have you made the function about the keyboard? Is it possible to share it? Thank you.

dwalkhul said:

PanagiotisCharalampous said:

Hi dwalkhul,

  1. Can you kindly point to a source of understand Chart Key Events in cAlgo.

This is not available at the moment. It will be available in cTrader Desktop 4.0. 

  1. If not, how then, is Chart Key Events being implemented in the above referred bot ?

You need to ask the developer of the bot regarding this. Probably using Win32 API.

 Best Regards,

Panagiotis 

Join us on Telegram

Thank you for prompt response

In the interest of clarity and certainty, re - 'This is not available at the moment. It will be available in cTrader Desktop 4.0.'

Does this specifically mean

  1. Hotkey trade operations will be available as a built in feature of the cTrader Desktop 4 - in other words, trade operation hotkey allocation will be available through the cTrader Desktop 4 Graphic User Interface  - or
  2. Key Events will be available in - cAlgo - so coders can customize hotkey trade operations by means of code

3. What is the expected date of cTrader Desktop 4.0 ?

4. This forum does not have an immediate SPAM report facility - see immediate next post for fake certificates spam ! Can it be removed ?

 

 


@artcfd

artcfd
23 Aug 2021, 07:59

RE: RE: Hotkey Trade Operations can be done by Code

dwalkhul said:This problem you describe I also thought of, keyboard trading is not a good idea, the following link blogger introduced this way quite good, you can consider considering.

PanagiotisCharalampous said:

Hi Tj,

You can read what a product backlog is here :)

Best Regards,

Panagiotis 

Join us on Telegram

Re below clause 2.   On reassement I consider the product not fit for reference and have withdrawn information.

Objectives:

  • Implementing cTrader hotkey trade operations by means of cAlgo/C# code offers superior versatility and customization than any future cTrader inbuilt trade operation hotkey functionality -  which will, if ever implemented, almost certainly be hotkey combinations (a key + another key) as opposed to a trade operation activated by a 'single key'.
  • Key combinations defeats the entire purpose of easy of use, speed, and efficiency - the additional use of an additional key to effect the trade operation is an unnecessary distraction.
  • The use of a single key for a trade operation is fast, most efficient and excludes additional distractions.
  • The use of single key trade functionality by means of code works to perfection - with respect my coding experience - in MT4/MT5 and Sierra Chart without conflicting or interfering with other programs that may use any on the same single hotkey or combination of hotkeys.

In MQL5 Chart Key Events are fairly straightforward.

#include <Trade\Trade.mqh>
//--- object of class CTrade
CTrade trade;
#include <Trade\PositionInfo.mqh>
CPositionInfo  m_position;      
#include <Trade\SymbolInfo.mqh>  
CSymbolInfo    m_symbol; 
#include <Trade\OrderInfo.mqh>
COrderInfo     m_order;   
......
......
#define KEY_AR_UP 38 // NL Up Arrow// BUY AT ASK
#define KEY_UP 104 // Up Arrow // BUY AT ASK
......
......
// BUY at Ask (market) /////////////////////
if(lparam == KEY_UP || lparam == KEY_AR_UP)
{
  cl=0;
  trade.Buy(LotSizex, NULL, SymbolInfoDouble(Symbol(),SYMBOL_ASK), SymbolInfoDouble(Symbol(),
  SYMBOL_ASK) - StopLoss*_Point, 0, NULL); 
  PlaySound(SND);
}

So here is the question and request:

  1. Can you kindly point to a source of understand Chart Key Events in cAlgo.
  2. If not, how then, is Chart Key Events being implemented in the above referred bot ?

 

 


@artcfd