Graphical orders == Graphical line metalanguage - trade orders, GTerminal Expert Advisor refinement - page 4

 

BUYSTOP, BUYLIMIT, SELLSTOP, SELLLIMIT commands TPBUY, SLBUY, TPSELL, SLSELL TPALLBUY, SLALLSELL, TPALLSELL

TP=xx, SL=xx, LOT=x.xx command parameters (in any order and can be omitted)

Lines of initiation of an order to be opened, tp/sl = value of the line:at the moment of opening. TPINITBUY, SLINITBUY, TPINITSELL, SLINITBUY

ALERT signal line (number of repetitions in EA properties)

Modifiers of activation: SHIFT=+/-x shift of triggering plus/minus: in points on the main chart; in the indicator windows set the sub-window price.

MA activation of the line is not based on the price but on its intersection with the MA. (MA parameters on the chart must match the EA properties)

Technical Indicators: RSI CCI WPR Momentum Force Index DeMarker ATR OBV MFI. (Indicator parameters must match to EA properties). Second line commands added: see command overlap table.

For example, on a line with name TPSELL BUYLIMIT will close a short position and open a long one (into reverse). The +/- offset applies to the whole line. The first command ends if the name of the second command is encountered.

Examples:

BUYSTOP SHIFT=-12 will open 12 points below the line.

BUYSTOP MA will open at intersection with MA on the bar specified in the properties.

TPBUY MA SHIFT=5 will close at 5 points above the MA.

ALERT MA will signal over the MA.

To apply the second command, follow the table of matching.

Files:
 

Table of overlapping first/second teams.

Note:

The semi-automatic machine interacts with a human, so you can't anticipate everything.

HOWEVER, if you notice anything, report it to the branch.

Files:
 

The limitation of "one position per side" alas - remains, and in this version of the language it is not possible to remove this limitation.

The language changes are almost ready.

 
Is it possible to close a position in parts? E.g., a BUYSTOP tp=120, sl=30, lot=1 has triggered and the price went up and reached the line 1 TPBUY.... - closes 0.3, goes further, on the next line TPBUY.... closes another 0.3 etc. Thank you.
 
Is it possible to add MACD or AO to the list of indicators used.
 
Korey:

The limitation of "one position per side" alas - remains, and in this version of the language it is not possible to remove this limitation.

The language changes are almost ready.

If you put the EA on different windows of the same currency and with different MAGIC, another position will open in the same direction.

 

The situation with adding an indicator to the semi-automatic is almost comical:

MQL-4 will find it only in sub-windows, and only when the short name is known.

But in the short name the period is entered. So, if the trader manually changed the period, the name has changed. )))) and it's searched by name))))

It's even more fun on the main chart. There is no standard means to detect an indicator that was manually placed on the main chart from the EA.

There is one way to call an arbitrary indicator, but it also turned out to be glitchy.

 
Korey:

It's even more fun on the main chart. There is no standard means to detect from the EA. indicator that was put manually on the main chart...

Both standard and custom.

It's not hard to imagine what opportunities would open up if this problem were eliminated.

 
SK. писал (а):
Korey:

It's even more fun on the main chart. There is no standard means to detect from the EA. indicator that was put manually on the main chart...

Both standard and custom.

It is not hard to imagine what possibilities would open if this problem were eliminated.

Suppose there is a C++ trader, and some serious citizen uses it, will he compose or order something in the style of chart trading?

Probably not, because the condition is that the citizen is serious, and traders are not trustworthy.

I.e. tradestation C++ - "one-way")))

And only in artificially simulated deficit situation appear such giants of graphic thought as AuttoGraph

 

If you want to be understood, make yourself clearer.

In my previous post I complained about the limitation of MT4. If it were not for this limitation, the opportunities for programmers would be much wider.

I do not understand who the citizen is and what the tradestation has to do with it.

By the way, I have previously pointed out to you how to correctly spell AutoGraf. Show a little respect for your fellow soldiers.

"There's no need for a Chan to insist on a kirsa. Let's poison each other for good" (M.Zhv.).

Reason: