I have a strategy that when if fires, I want the body of the email to show me the levels of some of the indicators, I want to show the low of the current candle minus 10 pips, I want to show the current level of the EMA 50 and the current level of the ADX 14, Here is my line of code, but I get error messages when I try and import the script, can you tell me where I am going wrong with the code?
SendMail("[email protected]", "[email protected]", "EMA Storm LONG M5 " + Instrument.FullName + Time[0], (High[0] + 10*TickSize).ToString() + ": entry point", EMA(50).ToString() + ": EMA 50 level.", ADX(14).ToString() + ": ADX 14 level." );
Comment