• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sma to Ema

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Sma to Ema

    Hi, in the following indicator, i have tried to swithch indicator from sma to ema by changing letters manually and compiling.
    i get CS0103 message. how culf fix that please?

    Cordialy
    Attached Files

    #2
    Hello mignardf,

    Thanks for your post.

    In the posted indicator, you would only need to change lines 49 & 50
    double ttt = SMA(Close, sMA)[0];
    double uuu = SMA(Close, sMA2)[0];


    to

    double ttt = EMA(Close, sMA)[0];
    double uuu = EMA(Close, sMA2)[0];
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hi Paul, i think my data is lagging. as sometimes Unirenko chart has funky tail, could this be due to amount of data in cache!? i only trade one market and would like to get rid on unecessary data from other market. what would you recommend i do?

      Cordially

      Comment


        #4
        Hello mignardf ,

        Thank you for your note.


        Please follow the steps below to manually attach your log and trace files to an email to platformsupport[AT]ninjatrader[DOT]com with "ATTN CHRIS S" in the subject line so I may investigate this matter further.
        • Open your NinjaTrader folder under Documents.
        • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
        • Send the 2 compressed folders as attachments to this email.
        • Once complete, you can delete these compressed folders.

        I look forward to your reply.
        Chris Sch.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by TraderYoda, Today, 03:33 AM
        0 responses
        0 views
        0 likes
        Last Post TraderYoda  
        Started by pjsmith, Today, 02:56 AM
        0 responses
        2 views
        0 likes
        Last Post pjsmith
        by pjsmith
         
        Started by ntbone, Yesterday, 08:10 PM
        0 responses
        9 views
        0 likes
        Last Post ntbone
        by ntbone
         
        Started by chrislou, 08-28-2015, 03:27 AM
        14 responses
        2,882 views
        0 likes
        Last Post nkhoi
        by nkhoi
         
        Started by outofstock, Yesterday, 06:40 PM
        2 responses
        8 views
        0 likes
        Last Post outofstock  
        Working...
        X