ATR en 5 cijferige hel
Results 1 to 2 of 2

Thread: ATR en 5 cijferige hel

  1. #1
    Ik heb de volgende code gewijzigd om te proberen de ATR indoor 5 cijfers in het gegevensvenster te laten weergeven. Alles wat ik heb toegevoegd was Indoor cijfers (cijfers) ;. Het toont nog steeds 4 cijfers in het gegevensvenster.

    Ja, ik heb het opnieuw gecompileerd, gesloten en opnieuw gestart MT4, enz. Enz. Enz. Nog steeds geen toestemming.

    Hier is de code:
    Code ingevoegd/ --------------------------------------------- --------------------- /| ATR.mq4 |/| Copyright � 2005, MetaQuotes Software Corp. |/| # 91; url # 93; http:/www.metaquotes.net/#91;url # 93; |/ ----------------------------------------------- ------------------- #eigenschappen copyright Copyright � 2005, MetaQuotes Software Corp # property link # 91; url # 93; http:/www.metaquotes.net# 91;url # 93; #property indior_separate_window #property indior_buffers 1 #property indior_color1 DodgerBlue/---- invoerparameters extern int AtrPeriod = 14;/---- buffers verdubbelen AtrBuffer # 91; # 93 ;; dubbele TempBuffer # 91; # 93 ;;/ ----------------------------------------------- ------------------- /| Custom indior initialisatie functie |/ ----------------------------------------------- ------------------- int init () {string short_name;/---- 1 extra buffer gebruikt voor het tellen. IndiorBuffers (2); IndiorDigits (cijfers);/---- indior-regel SetIndexStyle (0, DRAW_LINE); SetIndexBuffer (0, AtrBuffer); SetIndexBuffer (1, TempBuffer);/---- naam voor DataWindow en indior subwindow label short_name = ATR ( AtrPeriod ); IndiorShortName (SHORT_NAME); SetIndexLabel (0, SHORT_NAME);/---- SetIndexDrawBegin (0, AtrPeriod);/---- return (0); }/ ---------------------------------------------- -------------------- /| Gemiddeld True Range |/ ----------------------------------------------- ------------------- int start () {int i, counted_bars = IndiorCounted ();/---- if (Barslt; = AtrPeriod) return (0);/---- initi�le nul indien (counted_barslt; 1) voor (i = 1; ilt; = AtrPeriod; i ) AtrBuffer # 91; Bars-i # 93; = 0.0;/---- i = Bars-counted_bars-1; while (igt; = 0) {double high = High # 91; i # 93 ;; dubbel laag = Laag # 91; i # 93 ;; if (i == Bars-1) TempBuffer # 91; i # 93; = high-low; else {double prevclose = Close # 91; i 1 # 93 ;; TempBuffer # 91; i # 93; = MathMax (hoog, prevclose) -MathMin (laag, prevclose); } i--; }/---- if (counted_barsgt; 0) counted_bars--; int limit = Bars-counted_bars; voor (i = 0; ilt; limit; i ) AtrBuffer # 91; i # 93; = iMAOnArray (TempBuffer, Bars, AtrPeriod, 0, MODE_SMA, i);/---- return (0); }/ ---------------------------------------------- --------------------

  2. #2

Similar Threads

  1. Hoe toon ik 5-cijferige waarden met mijn indioren?
    By espinete69 in forum Cryptocurrencies
    Replies: 4
    Last Post: 02:04,

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.