[Function Returned Unexpected Results] #15
Replies: 3 comments
-
I'm going to need more details because it looks like you have a few bugs in your code from that screenshot. |
Beta Was this translation helpful? Give feedback.
-
<?php
namespace LupeCode\phpTraderNative;
use LupeCode\phpTraderNative\Trader;
require_once __DIR__.'/vendor/autoload.php';
$close_value = array();
$rsi = Trader::rsi($close_value, 14);
echo "RSI >> $rsi"; |
Beta Was this translation helpful? Give feedback.
-
You don't want to set your namespace to I'm not sure what you expect this code to do. |
Beta Was this translation helpful? Give feedback.
-
Function Name:
Trader
Input Variables:
Arrays
Expected Results:
RSI
Actual Results:
What results did you actually receive?
Comparison Source:
Beta Was this translation helpful? Give feedback.
All reactions