the error message is "assignment is allowed only for variables or array elements" error line 29, which is the last line of my code below it also says "causal study: Function"
Here is my code
Code: Select all
[LegacyColorValue = true] ;
Input: _Color( NumericSimple),
_Thickness( NumericSimple),
_TimeStart( NumericSimple),
_DateStart( NumericSimple),
_TimeEnd( NumericSimple),
_DateEnd( NumericSimple),
_PriceHi( NumericSimple),
_PriceLo( NumericSimple);
Vars: Top( 0), Bottom( 0), Left( 0 ), Right( 0 );
{Draw bottom line}
Bottom =TL_New( _DateStart, _Timestart, _PriceLo,_DateEnd, _TimeEnd, _PriceLo );
TL_SetColor( Bottom, _Color );
Value1 = TL_SetSize( Bottom, 0 ); // originally it was Value1 = TL_SetSize( Bottom, _Thickness );
{Draw top line}
Top =TL_New( _DateStart, _Timestart, _PriceHi,_DateEnd, _TimeEnd, _PriceHi );
TL_SetColor( Top, _Color );
Value1 = TL_SetSize( Top, 0 );
_DrawBox3 = 0;
Thank you for any help