Metatrader Forum | Forex Expert-Advisor | Broker & Forex Tools

Metatrader Forum | Forex Expert-Advisor | Broker & Forex Tools (http://www.expert-advisor.com/forum/index.php)
-   Programmierung MQL4 (http://www.expert-advisor.com/forum/forumdisplay.php?f=220)
-   -   Buy-Sell-Close (http://www.expert-advisor.com/forum/showthread.php?t=5446)

Sparclub 06.02.17 13:19

Buy-Sell-Close
 
Hallo,

habe keinen Plan von MQL4, bekomme aus meinen Indikator einen Alarm wenn Buy oder Sell order erreicht.
Suche ein skipt das bei Alarm den Letzten Trade des Skiptes löscht und einen neuen Trade Buy/Sell startet.
Am besten einfach zum einfügen bei den Alarm. :)

Danke!!

Zitat:

if (as_0 == "buy") Alert(Symbol() + " => " + TimeToStr(TimeCurrent()) + " buy");
if (as_0 == "sell") Alert(Symbol() + " => " + TimeToStr(TimeCurrent()) + " sell");

Adlerauge 15.02.17 12:00

Hi,
um immer abwechseld einen Buy und einen Sell ging es hier:

http://www.expert-advisor.com/forum/...iv-trades.html

Einen Indikator kannst Du mit iCustom auslesen, sofern in dem Indikator Buffer definiert sind. Dazu findest Du hier auch diverse Beiträge.


Alle Zeitangaben in WEZ +2. Es ist jetzt 07:21 Uhr.

Powered by vBulletin® Version 3.8.5 (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.1
Powered by vBCMS® 2.7.0 ©2002 - 2024 vbdesigns.de
Copyright ©2009 - 2023 by Expert-Advisor.com - Das Metatrader Forum