Forums › ProRealTime English forum › ProOrder support › Total Beginner › Reply To: Total Beginner
10/03/2022 at 8:48 PM
#201874
1 2 3 4 5 6 7 8 9 10 |
if average[8]<close[1] then if open>close[1] then signal=low stoploss=lowest[5](low) takeprofit=(close-stoploss)*2 else signal=0 endif endif return signal,stoploss |
this code is for an indicator