I studying the program Need a simple program. //get price Indicators 5 mins / 15 mins / 30mins (Please ask for more information.) //get price to variable yyy = now_price Indicators 5 mins ; // wanted ** calculate ... Make a simple example For me to learn and modify later. // Buy if (xxx == yyy) { buy order111 ; } if (aaa==bbb) { stop order111 ; Show profit order111 ; } // end Buy // Sale if (xxx == yyy) { Sale order222 ; } if (aaa==bbb) { stop order222 ; Show profit order222 ; } // end Sale Show sum all profit ;