Er is iets mis met de indior - Hulp nodig
Results 1 to 6 of 6

Thread: Er is iets mis met de indior - Hulp nodig

  1. #1
    1 Bijlage(n) Bijlage 3576126 Bijlage 3576126

    Hoi,

    Ik heb deze indior bijgevoegd die een waarschuwing geeft aan het aantal openstaande transacties. Heb dit van een vriend gekregen.

    Deze waarschuwing geeft het totaal geen. van open transacties (alle symbolen). Kan het helpen om het zo te bewerken dat het alleen het totale aantal openstaande bestellingen van het symbool waar het aan is gekoppeld, waarschuwt?

    Ik merk dat er fouten zijn wanneer ik het bestand compileer impliciete conversie van 'nummer' naar 'string'

    bedankt.

    https://www.aforexa.com/attachments/...Of Open Orders

  2. #2

    Quote Originally Posted by ;
    probeer dit {bestand}
    Hallo RedLineFred, bedankt voor de bewerking. Ik heb geprobeerd de Take Profit Price ook in de waarschuwingsinhoud te plaatsen, maar het werkt niet. zou je kunnen helpen? Het geeft een waarschuwing wanneer de Take Profit-prijs van het symbool waaraan het is gekoppeld. Dank u

  3. #3
    1 Bijlage(n) Hallo codeurs Senioren, ik ben geen programmeur of ontwikkelaar. ik kon niet vinden wat ik wil, dus ik google de code naar wat ik wil. ik weet niet of het goed of fout is. uw vriendelijke hulp wordt zeer op prijs gesteld. Code ingevoegd if(getOrderCount(_Symbol)==ORDERSOPEN OrderSymbol() == _Symbol OrderType() == OP_BUY) {if(i==0 TIME!=Time#91;0#93{ Alert(Symbol() BUY ORDER REACH IntegerToString(ORDERSOPEN) NEEM WINST DoubleToStr(OrderTakeProfit())); TIME=Time#91;0#93;;} } Het huidige aantal symboolorders is gelijk aan X en het Open Order-type is KOPEN, het geeft de waarschuwing Inserted Code if(getOrderCount(_Symbol)==ORDERSOPEN OrderSymbol() == _Symbol OrderType() == OP_SELL) {if(i==0 TIME!=Time#91;0#93{ SendNotifiion(Symbol() SELL ORDER REACH IntegerToString(ORDERSOPEN) WINST NEMEN DoubleToStr(OrderTakeProfit())); TIME=Time#91;0#93;;} } Huidige symboolordertelling is gelijk aan X en het Open Order-type is VERKOPEN, het geeft de waarschuwing Inserted Code if(getOrderCount(_Symbol)gt;=ORDERSOPEN OrderSymbol() = = _Symbol Bidgt;=TakeProfit(_Symbol) OrderType() == OP_BUY) {if(i==0 TIME!=Time#91;0#93{ Alert(Symbol() ORDER BEREIK WINST NEMEN DoubleToStr (OrderTakeProfit())); TIME=Time#91;0#93;;} } Huidige symboolordertelling is gelijk aan of groter dan X en het open ordertype is Kopen en het bod is groter of gelijk aan het huidige symbool Take Profit, het zal de waarschuwing Ingevoegde code geven als (getOrderCount(_Symbol)gt;=ORDERSOPEN OrderSymbol() == _Symbol Asklt;=TakeProfit(_Symbol) OrderType() == OP_SELL) {if(i==0 TIME!=Time#91;0#93{ SendNotifiion (Symbool() ORDER BEREIK WINST NEMEN DoubleToStr(OrderTakeProfit())); TIME=Time#91;0#93;;} } Huidige symboolordertelling is gelijk aan of groter dan X en het open ordertype is Verkopen en vragen is kleiner of gelijk aan het huidige symbool Take Profit, het zal de waarschuwing geven --- -------------------------------------------------- ----------------------------------- Dit is de hele broncode. Code ingevoegd/ --------------------------------------------- --------------------- /| NEE. VAN OPEN ORDERS.mq4 |/| Copyright 2015, MetaQuotes Software Corp. |/| https://www.mql5.com |/ ----------------------------------------------- ------------------- #eigendom copyright Copyright 2015, MetaQuotes Software Corp. #property link https://www.mql5.com #property versie 1.00 #property strict # eigenschap indior_chart_window/--- invoerparameters datetime TIME=0;/------------------------------------------------ ---- invoer in ORDERSOPEN=15;//NO. VAN BESTELLINGEN OPEN/--------------------------------------------- -------/--- indiorbuffers/---------------------------------- ------------------//| Initialisatiefunctie voor aangepaste indioren |/------------------------------------------------ ---- int OnInit() {/--------------------------------------- ------------- terug (INIT_SUCCEEDED); }/----------------------------------------------- -----/| Aangepaste indior iteratiefunctie |/------------------------------------------------ ---- int OnCalculate(const int rates_total, const int prev_calculated, const datetime time#91;#93;, const double open#91;#93;, const double high#91;#93;, const double low#91 ;#93;, const double close#91;#93;, const long tick_volume#91;#93;, const long volume#91;#93;, const int spread#91;#93 {/-- -------------------------------------------------- int i,limiet; limit=rates_total-prev_calculated; if(prev_calculatedgt;0)limiet=limiet 2; for(i=limit-2;igt;=0;i--) { if(getOrderCount(_Symbol)==ORDERSOPEN OrderSymbol() == _Symbol OrderType() == OP_BUY) {if(i==0 TIME!= Time#91;0#93{ Alert(Symbol() BUY ORDER REACH IntegerToString(ORDERSOPEN) TAKE PROFIT DoubleToStr(OrderTakeProfit())); TIME=Time#91;0#93;;} } if(getOrderCount(_Symbol)==ORDERSOPEN OrderSymbol() == _Symbol OrderType() == OP_SELL) {if(i==0 TIME!=Time#91;0 #93{ SendNotifiion(Symbol() SELL ORDER REACH IntegerToString(ORDERSOPEN) TAKE PROFIT DoubleToStr(OrderTakeProfit())); TIME=Time#91;0#93;;} } if(getOrderCount(_Symbol)gt;=ORDERSOPEN OrderSymbol() == _Symbol Bidgt;=TakeProfit(_Symbol) OrderType() == OP_BUY) {if(i==0 TIME!=Time#91;0#93{ Alert(Symbol() ORDER REACH TAKE PROFIT DoubleToStr(OrderTakeProfit())); TIME=Time#91;0#93;;} } if(getOrderCount(_Symbol)gt;=ORDERSOPEN OrderSymbol() == _Symbol Asklt;=TakeProfit(_Symbol) OrderType() == OP_SELL) {if(i==0 TIME!=Time#91;0#93{ SendNotifiion(Symbol() ORDER REACH TAKE PROFIT DoubleToStr(OrderTakeProfit())); TIJD=Tijd#91;0#93;;} }/---------------------------------- ----------------- } return (rates_total); }/----------------------------------------------- -----/| |/------------------------------------------------ ---- int getOrderCount(string argSymbol, int magic = -1) {int total, count, numbOrders=0 ; totaal = OrdersTotaal(); for (count = totaal; count gt;= 0; count--) {if(OrderSelect(count, SELECT_BY_POS, MODE_TRADES)) { if ((magic == -1 || (magic gt;=0 OrderMagicNumber() == magic)) OrderSymbol() == argSymbol) {if (OrderType() == OP_BUY || OrderType() == OP_SELL) numbOrders ; } } } return(numbOrders); } int TakeProfit(stringTPSymbol) { bool PROFIT = OrderTakeProfit(); {if(OrderSelect(SELECT_BY_POS, MODE_TRADES)) {if (OrderSymbol() == TPSymbol) {if (OrderType() == OP_BUY || OrderType() == OP_SELL) return(true); } } } return(false); }
    https://www.aforexa.com/attachments/...OF OPEN ORDERS

  4. #4

  5. #5

    Quote Originally Posted by ;
    35761263576126 Hallo, ik heb deze indior bijgevoegd die een waarschuwing geeft aan het aantal openstaande transacties. Heb dit van een vriend gekregen. Deze waarschuwing geeft het totaal geen. van open transacties (alle symbolen). Kan het helpen om het zo te bewerken dat het alleen het totale aantal openstaande bestellingen van het symbool waar het aan is gekoppeld, waarschuwt? Ik merk dat er fouten zijn wanneer ik het bestand compileer impliciete conversie van 'nummer' naar 'string' dank je. {het dossier}
    Hallo, heel erg bedankt.. het werkt.. een miljoen bedankt

  6. #6

Similar Threads

  1. Hulp nodig: Iets anders dichtbij alles sluiten EA
    By lucay.utiel in forum Cryptocurrencies
    Replies: 3
    Last Post: 07:15,
  2. Hulp nodig met een indior
    By Jacker in forum Cryptocurrencies
    Replies: 1
    Last Post: 20:45,
  3. Kan ik hulp krijgen op iets heel eenvoudigs?
    By musti in forum Cryptocurrencies
    Replies: 2
    Last Post: 15:44,
  4. Hulp nodig bij het testen van een indior
    By oxrtamtw in forum Forex Strategie
    Replies: 0
    Last Post: 06:20,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.