Error 1 error C1021: invalid preprocessor command 'property'

How to create strategies and indicators
Posts: 5
Joined: Fri Jul 01, 2016 5:56 pm

Error 1 error C1021: invalid preprocessor command 'property'

#1 Postby Jeronimo » Fri Jul 01, 2016 6:09 pm

I have the Ebuider software , i create a indicator code with it. Now i need to compile the code to a dll format and to able to install the costume indicator to Forex tester. But i have problem with the code can sombody help mi with this isseu Visual studio give mi this error
Error 1 error C1021: invalid preprocessor command 'property' 2 IntelliSense: unrecognized preprocessing directive and so one

#property copyright "Created with"
#property link ""
#property version "1.00"
#property description ""

#include <stdlib.mqh>
#include <stderror.mqh>

//--- indicator settings
#property indicator_chart_window
#property indicator_buffers 3

#property indicator_type1 DRAW_ARROW
#property indicator_width1 3
#property indicator_color1 0x00FF2B
#property indicator_label1 "Buy/Call/Up"

#property indicator_type2 DRAW_ARROW
#property indicator_width2 3
#property indicator_color2 0x0000FF
#property indicator_label2 "Sell/Put/Down"

#property indicator_type3 DRAW_ARROW
#property indicator_width3 4
#property indicator_color3 0x0091FF
#property indicator_label3 "Winner!"

Posts: 1
Joined: Tue Feb 27, 2018 5:45 pm

Error1error C1021 invalid preprocessor command property

#2 Postby Richardsig » Sat Mar 03, 2018 5:32 am

I get error 404 when I try to get the text message content using VsimGetSMS. Can anyone help with this?

Return to “FT API”

Who is online

Users browsing this forum: No registered users and 1 guest