[Function Returned Unexpected Results] #15
Unanswered
uguraltinsoy
asked this question in
Help
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. |
0 replies
<?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"; |
0 replies
|
You don't want to set your namespace to I'm not sure what you expect this code to do. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Function Name:
Trader
Input Variables:
Arrays
Expected Results:
RSI
Actual Results:
What results did you actually receive?
Comparison Source:
All reactions