求助:比如现在登录的交易账号是12345678,我想让abc这个变量值等于账号的后4位数字(即让abc=5678),要怎么写代码呢? Help: For example, if the trading account is 12345678, and I want the value of the variable abc to be equal to the last 4 digits of the account (i.e., let abc=5678), how to write the code
下面是计算均线角度的代码,不知道问题出在了哪里,请高手指教。 int start() { int counted_bars=IndicatorCounted();//---- int shift1 = 20; int shift2 = 31; double price1 = iMA(NULL,15,20,0,MODE_SMA,PRICE_CLOSE,shift1); double price2 = iMA(NULL,15,20,0,MODE_SMA,PRICE_CLOSE,shift2); double X =...