[Archive] Learn how to make money villagers! - page 382

 
RekkeR:
judging by the indicator
What indicator?
 
RekkeR:

A longer indicator period means a longer expected price move after entry, respectively, etc.

Probably a more interesting option would be an EA that allows you to open orders in manual mode, with "hot buttons", with doubling the lot of the last open order.


The indicator has a longer period - higher expected price movement after entering, respectively, etc. Well, owls with hot buttons are not up to snuff yet, but my owls will support other people's orders if they want to open them manually.
 
7Konstantin7:
What indicator?
In this case, I was writing about the osma.
 
RekkeR:
In this case, he was writing about osmah.
And yes...)
 
TEXX:

Well owls with hotkeys are not up to snuff yet, but my owls will organise support for other people's orders, if they want to open them manually.

Pretty simple. One lib is used. Next, a keypad polling.

IdleLibInit();//инициализируем Dll для перехвата событий   
         bool NeedLoop=true;
         int i=0;
         while(i<100){           
           int lastkey=GetLastKeyWP();//Опрашиваем код посл. клавиши
           string lastwnd=GetActiveWndName();//Имя окна Metatrader где произошло событие
           if ((lastkey==118)) {             
             Alert("Код нажатой клавиши=",lastkey," из окна ",lastwnd);
             CheckForCloseManual();
             break;
           }
           Sleep(100);
           i++;
           }
 
OnGoing:

Pretty simple. A single lib is used. Next, poll the keyboard.

You can make it even simpler via global terminal variables without using a library.
 
OnGoing:

Pretty simple. One lib is used. Then there's a polling of the keyboard.


Well, I'm not good at it, and as they say "it's already a package", if the logic is fucked and in trends do not sharpen, then the buttons will not help.

Although this is certainly a good way to do it.

 
What about entering or adding divergence or osma convergence trading conditions)?
 
7Konstantin7:
What about entering or adding trading conditions on divergences or osma convergences?)
Such moments are much rarer than zero crossing)
 
OnGoing:
Such moments are much rarer than crossing zero)
so it's just unlikely that the drawdown will be even smaller (ok) it's fine as it is)